Revision d60efc6b hw/ppc405_boards.c

b/hw/ppc405_boards.c
134 134
    ref405ep_fpga_writeb(opaque, addr + 3, value & 0xFF);
135 135
}
136 136

  
137
static CPUReadMemoryFunc *ref405ep_fpga_read[] = {
137
static CPUReadMemoryFunc * const ref405ep_fpga_read[] = {
138 138
    &ref405ep_fpga_readb,
139 139
    &ref405ep_fpga_readw,
140 140
    &ref405ep_fpga_readl,
141 141
};
142 142

  
143
static CPUWriteMemoryFunc *ref405ep_fpga_write[] = {
143
static CPUWriteMemoryFunc * const ref405ep_fpga_write[] = {
144 144
    &ref405ep_fpga_writeb,
145 145
    &ref405ep_fpga_writew,
146 146
    &ref405ep_fpga_writel,
......
458 458
    taihu_cpld_writeb(opaque, addr + 3, value & 0xFF);
459 459
}
460 460

  
461
static CPUReadMemoryFunc *taihu_cpld_read[] = {
461
static CPUReadMemoryFunc * const taihu_cpld_read[] = {
462 462
    &taihu_cpld_readb,
463 463
    &taihu_cpld_readw,
464 464
    &taihu_cpld_readl,
465 465
};
466 466

  
467
static CPUWriteMemoryFunc *taihu_cpld_write[] = {
467
static CPUWriteMemoryFunc * const taihu_cpld_write[] = {
468 468
    &taihu_cpld_writeb,
469 469
    &taihu_cpld_writew,
470 470
    &taihu_cpld_writel,

Also available in: Unified diff