]> Git Repo - qemu.git/blobdiff - hw/pflash_cfi02.c
Make CPURead/WriteFunc structure 'const'
[qemu.git] / hw / pflash_cfi02.c
index a62d609555e126b08bd1fecc2ee1f41e583918a2..a97b9e6772dd9f7fed6557e745dfcc2af78d88db 100644 (file)
@@ -492,13 +492,13 @@ static void pflash_writel (void *opaque, target_phys_addr_t addr,
     pflash_write(pfl, addr, value, 4);
 }
 
-static CPUWriteMemoryFunc *pflash_write_ops[] = {
+static CPUWriteMemoryFunc * const pflash_write_ops[] = {
     &pflash_writeb,
     &pflash_writew,
     &pflash_writel,
 };
 
-static CPUReadMemoryFunc *pflash_read_ops[] = {
+static CPUReadMemoryFunc * const pflash_read_ops[] = {
     &pflash_readb,
     &pflash_readw,
     &pflash_readl,
This page took 0.020993 seconds and 4 git commands to generate.