]> git.proxmox.com Git - qemu.git/blobdiff - hw/etraxfs_pic.c
Make CPURead/WriteFunc structure 'const'
[qemu.git] / hw / etraxfs_pic.c
index 4527d98dc7614259edea392384b480e04780f92e..6e063c8be821f9b25e1c1a1ece2a4e6deb454071 100644 (file)
@@ -99,12 +99,12 @@ pic_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
     }
 }
 
-static CPUReadMemoryFunc *pic_read[] = {
+static CPUReadMemoryFunc * const pic_read[] = {
     NULL, NULL,
     &pic_readl,
 };
 
-static CPUWriteMemoryFunc *pic_write[] = {
+static CPUWriteMemoryFunc * const pic_write[] = {
     NULL, NULL,
     &pic_writel,
 };