diff options
Diffstat (limited to 'hw/mips_malta.c')
-rw-r--r-- | hw/mips_malta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/mips_malta.c b/hw/mips_malta.c index 4e51c8d146..d8fa26437c 100644 --- a/hw/mips_malta.c +++ b/hw/mips_malta.c @@ -387,13 +387,13 @@ static void malta_fpga_writel(void *opaque, target_phys_addr_t addr, } } -static CPUReadMemoryFunc *malta_fpga_read[] = { +static CPUReadMemoryFunc * const malta_fpga_read[] = { malta_fpga_readl, malta_fpga_readl, malta_fpga_readl }; -static CPUWriteMemoryFunc *malta_fpga_write[] = { +static CPUWriteMemoryFunc * const malta_fpga_write[] = { malta_fpga_writel, malta_fpga_writel, malta_fpga_writel |