Revision d60efc6b hw/stellaris.c

b/hw/stellaris.c
268 268
    gptm_update_irq(s);
269 269
}
270 270

  
271
static CPUReadMemoryFunc *gptm_readfn[] = {
271
static CPUReadMemoryFunc * const gptm_readfn[] = {
272 272
   gptm_read,
273 273
   gptm_read,
274 274
   gptm_read
275 275
};
276 276

  
277
static CPUWriteMemoryFunc *gptm_writefn[] = {
277
static CPUWriteMemoryFunc * const gptm_writefn[] = {
278 278
   gptm_write,
279 279
   gptm_write,
280 280
   gptm_write
......
579 579
    ssys_update(s);
580 580
}
581 581

  
582
static CPUReadMemoryFunc *ssys_readfn[] = {
582
static CPUReadMemoryFunc * const ssys_readfn[] = {
583 583
   ssys_read,
584 584
   ssys_read,
585 585
   ssys_read
586 586
};
587 587

  
588
static CPUWriteMemoryFunc *ssys_writefn[] = {
588
static CPUWriteMemoryFunc * const ssys_writefn[] = {
589 589
   ssys_write,
590 590
   ssys_write,
591 591
   ssys_write
......
827 827
    stellaris_i2c_update(s);
828 828
}
829 829

  
830
static CPUReadMemoryFunc *stellaris_i2c_readfn[] = {
830
static CPUReadMemoryFunc * const stellaris_i2c_readfn[] = {
831 831
   stellaris_i2c_read,
832 832
   stellaris_i2c_read,
833 833
   stellaris_i2c_read
834 834
};
835 835

  
836
static CPUWriteMemoryFunc *stellaris_i2c_writefn[] = {
836
static CPUWriteMemoryFunc * const stellaris_i2c_writefn[] = {
837 837
   stellaris_i2c_write,
838 838
   stellaris_i2c_write,
839 839
   stellaris_i2c_write
......
1111 1111
    stellaris_adc_update(s);
1112 1112
}
1113 1113

  
1114
static CPUReadMemoryFunc *stellaris_adc_readfn[] = {
1114
static CPUReadMemoryFunc * const stellaris_adc_readfn[] = {
1115 1115
   stellaris_adc_read,
1116 1116
   stellaris_adc_read,
1117 1117
   stellaris_adc_read
1118 1118
};
1119 1119

  
1120
static CPUWriteMemoryFunc *stellaris_adc_writefn[] = {
1120
static CPUWriteMemoryFunc * const stellaris_adc_writefn[] = {
1121 1121
   stellaris_adc_write,
1122 1122
   stellaris_adc_write,
1123 1123
   stellaris_adc_write

Also available in: Unified diff