]> Git Repo - qemu.git/blobdiff - hw/xilinx_intc.c
Make CPURead/WriteFunc structure 'const'
[qemu.git] / hw / xilinx_intc.c
index 7fadad518c9fe84b0c53d03136299e8b72376da9..2ecf962ccd3d9eef513626efaa0a8209ce896b14 100644 (file)
@@ -116,12 +116,12 @@ pic_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
     update_irq(p);
 }
 
-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,
 };
This page took 0.02449 seconds and 4 git commands to generate.