qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 08/20] i8257: add missing const


From: John Snow
Subject: [Qemu-devel] [PULL 08/20] i8257: add missing const
Date: Wed, 3 Feb 2016 15:32:23 -0500

From: Hervé Poussineau <address@hidden>

Signed-off-by: Hervé Poussineau <address@hidden>
Message-id: address@hidden
Signed-off-by: John Snow <address@hidden>
---
 hw/dma/i8257.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/dma/i8257.c b/hw/dma/i8257.c
index e577ed4..0e5ebc1 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)
 {
-- 
2.4.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]