diff options
Diffstat (limited to 'hw/m48t59.c')
-rw-r--r-- | hw/m48t59.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/m48t59.c b/hw/m48t59.c index 6541cbe8f3..3f2e3e551d 100644 --- a/hw/m48t59.c +++ b/hw/m48t59.c @@ -565,13 +565,13 @@ static uint32_t nvram_readl (void *opaque, target_phys_addr_t addr) return retval; } -static CPUWriteMemoryFunc *nvram_write[] = { +static CPUWriteMemoryFunc * const nvram_write[] = { &nvram_writeb, &nvram_writew, &nvram_writel, }; -static CPUReadMemoryFunc *nvram_read[] = { +static CPUReadMemoryFunc * const nvram_read[] = { &nvram_readb, &nvram_readw, &nvram_readl, |