Commit dfebf62bb9cde4881e9d920d462082ef7e7b5407

Authored by aurel32
1 parent b7169916

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
Showing 1 changed file with 1 additions and 1 deletions
hw/openpic.c
... ... @@ -1669,7 +1669,7 @@ qemu_irq *mpic_init (target_phys_addr_t base, int nb_cpus,
1669 1669 CPUWriteMemoryFunc **write;
1670 1670 target_phys_addr_t start_addr;
1671 1671 ram_addr_t size;
1672   - } list[] = {
  1672 + } const list[] = {
1673 1673 {mpic_glb_read, mpic_glb_write, MPIC_GLB_REG_START, MPIC_GLB_REG_SIZE},
1674 1674 {mpic_tmr_read, mpic_tmr_write, MPIC_TMR_REG_START, MPIC_TMR_REG_SIZE},
1675 1675 {mpic_ext_read, mpic_ext_write, MPIC_EXT_REG_START, MPIC_EXT_REG_SIZE},
... ...