]> git.proxmox.com Git - qemu.git/blobdiff - hw/pl022.c
Make CPURead/WriteFunc structure 'const'
[qemu.git] / hw / pl022.c
index 78076e087383e7f63c0c57796ced28c11b0a4ee1..62e22d0d605618bb8338192693a8be74fba35753 100644 (file)
@@ -227,13 +227,13 @@ static void pl022_reset(pl022_state *s)
     s->sr = PL022_SR_TFE | PL022_SR_TNF;
 }
 
-static CPUReadMemoryFunc *pl022_readfn[] = {
+static CPUReadMemoryFunc * const pl022_readfn[] = {
    pl022_read,
    pl022_read,
    pl022_read
 };
 
-static CPUWriteMemoryFunc *pl022_writefn[] = {
+static CPUWriteMemoryFunc * const pl022_writefn[] = {
    pl022_write,
    pl022_write,
    pl022_write