diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-08-25 18:29:31 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-08-25 18:29:31 +0000 |
commit | d60efc6b0d3d4e90cbbb86e21451e55263c29416 (patch) | |
tree | d5167171d11fa8e54f0ff11fae42c77cfac5af4a /hw/arm_timer.c | |
parent | fa31af0e63c5629d0bdc63eb87c1e44abd4fdb9e (diff) |
Make CPURead/WriteFunc structure 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/arm_timer.c')
-rw-r--r-- | hw/arm_timer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/arm_timer.c b/hw/arm_timer.c index 572804f9cc..25cbf664a8 100644 --- a/hw/arm_timer.c +++ b/hw/arm_timer.c @@ -223,13 +223,13 @@ static void sp804_write(void *opaque, target_phys_addr_t offset, } } -static CPUReadMemoryFunc *sp804_readfn[] = { +static CPUReadMemoryFunc * const sp804_readfn[] = { sp804_read, sp804_read, sp804_read }; -static CPUWriteMemoryFunc *sp804_writefn[] = { +static CPUWriteMemoryFunc * const sp804_writefn[] = { sp804_write, sp804_write, sp804_write @@ -311,13 +311,13 @@ static void icp_pit_write(void *opaque, target_phys_addr_t offset, } -static CPUReadMemoryFunc *icp_pit_readfn[] = { +static CPUReadMemoryFunc * const icp_pit_readfn[] = { icp_pit_read, icp_pit_read, icp_pit_read }; -static CPUWriteMemoryFunc *icp_pit_writefn[] = { +static CPUWriteMemoryFunc * const icp_pit_writefn[] = { icp_pit_write, icp_pit_write, icp_pit_write |