]> git.proxmox.com Git - qemu.git/blobdiff - hw/etraxfs_timer.c
Make CPURead/WriteFunc structure 'const'
[qemu.git] / hw / etraxfs_timer.c
index 450e7d140a6e98bfd62f6f0486daf8b241cf96fc..c2b2b1076a26b8b1619b1e456935a49495d14dd0 100644 (file)
@@ -285,12 +285,12 @@ timer_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
     }
 }
 
-static CPUReadMemoryFunc *timer_read[] = {
+static CPUReadMemoryFunc * const timer_read[] = {
     NULL, NULL,
     &timer_readl,
 };
 
-static CPUWriteMemoryFunc *timer_write[] = {
+static CPUWriteMemoryFunc * const timer_write[] = {
     NULL, NULL,
     &timer_writel,
 };