diff options
Diffstat (limited to 'hw/pl022.c')
-rw-r--r-- | hw/pl022.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pl022.c b/hw/pl022.c index 78076e0873..62e22d0d60 100644 --- a/hw/pl022.c +++ b/hw/pl022.c @@ -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 |