aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-02 16:42:14 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-02 16:42:14 +0000
commitdfebf62bb9cde4881e9d920d462082ef7e7b5407 (patch)
treee3f2915e2f4ffe826d43d23086ec0e08cc8fea00
parentb71699167155d3ae17bc18e74ea6d4360aa2540b (diff)
downloadqemu-dfebf62bb9cde4881e9d920d462082ef7e7b5407.zip
qemu-dfebf62bb9cde4881e9d920d462082ef7e7b5407.tar.gz
qemu-dfebf62bb9cde4881e9d920d462082ef7e7b5407.tar.bz2
hw/openpic: define list in mpic_init() const
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6660 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--hw/openpic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/openpic.c b/hw/openpic.c
index 6e4126b..46a2706 100644
--- a/hw/openpic.c
+++ b/hw/openpic.c
@@ -1669,7 +1669,7 @@ qemu_irq *mpic_init (target_phys_addr_t base, int nb_cpus,
CPUWriteMemoryFunc **write;
target_phys_addr_t start_addr;
ram_addr_t size;
- } list[] = {
+ } const list[] = {
{mpic_glb_read, mpic_glb_write, MPIC_GLB_REG_START, MPIC_GLB_REG_SIZE},
{mpic_tmr_read, mpic_tmr_write, MPIC_TMR_REG_START, MPIC_TMR_REG_SIZE},
{mpic_ext_read, mpic_ext_write, MPIC_EXT_REG_START, MPIC_EXT_REG_SIZE},