summaryrefslogtreecommitdiffstats
path: root/hw/dma/i8257.c
diff options
context:
space:
mode:
authorHervé Poussineau2016-02-03 17:28:56 +0100
committerJohn Snow2016-02-03 17:28:56 +0100
commit8d3c4c81f36f966d53923db23021487d903eee9c (patch)
tree5e9cdfaaabb6ba09c46e3b8c5bc4905dc9ccc1ef /hw/dma/i8257.c
parenti8257: make the DMA running method per controller (diff)
downloadqemu-8d3c4c81f36f966d53923db23021487d903eee9c.tar.gz
qemu-8d3c4c81f36f966d53923db23021487d903eee9c.tar.xz
qemu-8d3c4c81f36f966d53923db23021487d903eee9c.zip
i8257: add missing const
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Message-id: 1453843944-26833-8-git-send-email-hpoussin@reactos.org Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'hw/dma/i8257.c')
-rw-r--r--hw/dma/i8257.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma/i8257.c b/hw/dma/i8257.c
index e577ed46c9..0e5ebc14c8 100644
--- a/hw/dma/i8257.c
+++ b/hw/dma/i8257.c
@@ -87,7 +87,7 @@ enum {
static void i8257_dma_run(void *opaque);
-static int channels[8] = {-1, 2, 3, 1, -1, -1, -1, 0};
+static const int channels[8] = {-1, 2, 3, 1, -1, -1, -1, 0};
static void i8257_write_page(void *opaque, uint32_t nport, uint32_t data)
{