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/slavio_intctl.c | |
parent | target-mips: fix conditional moves off fp condition codes (diff) | |
download | qemu-kvm-d60efc6b0d3d4e90cbbb86e21451e55263c29416.tar.gz qemu-kvm-d60efc6b0d3d4e90cbbb86e21451e55263c29416.tar.bz2 qemu-kvm-d60efc6b0d3d4e90cbbb86e21451e55263c29416.zip |
Make CPURead/WriteFunc structure 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/slavio_intctl.c')
-rw-r--r-- | hw/slavio_intctl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/slavio_intctl.c b/hw/slavio_intctl.c index c9bad2607..7ac1c93ad 100644 --- a/hw/slavio_intctl.c +++ b/hw/slavio_intctl.c @@ -134,13 +134,13 @@ static void slavio_intctl_mem_writel(void *opaque, target_phys_addr_t addr, } } -static CPUReadMemoryFunc *slavio_intctl_mem_read[3] = { +static CPUReadMemoryFunc * const slavio_intctl_mem_read[3] = { NULL, NULL, slavio_intctl_mem_readl, }; -static CPUWriteMemoryFunc *slavio_intctl_mem_write[3] = { +static CPUWriteMemoryFunc * const slavio_intctl_mem_write[3] = { NULL, NULL, slavio_intctl_mem_writel, @@ -208,13 +208,13 @@ static void slavio_intctlm_mem_writel(void *opaque, target_phys_addr_t addr, } } -static CPUReadMemoryFunc *slavio_intctlm_mem_read[3] = { +static CPUReadMemoryFunc * const slavio_intctlm_mem_read[3] = { NULL, NULL, slavio_intctlm_mem_readl, }; -static CPUWriteMemoryFunc *slavio_intctlm_mem_write[3] = { +static CPUWriteMemoryFunc * const slavio_intctlm_mem_write[3] = { NULL, NULL, slavio_intctlm_mem_writel, |