diff options
Diffstat (limited to 'hw/pl011.c')
-rw-r--r-- | hw/pl011.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pl011.c b/hw/pl011.c index 0528bfe7d1..08a55ace8b 100644 --- a/hw/pl011.c +++ b/hw/pl011.c @@ -223,13 +223,13 @@ static void pl011_event(void *opaque, int event) pl011_put_fifo(opaque, 0x400); } -static CPUReadMemoryFunc *pl011_readfn[] = { +static CPUReadMemoryFunc * const pl011_readfn[] = { pl011_read, pl011_read, pl011_read }; -static CPUWriteMemoryFunc *pl011_writefn[] = { +static CPUWriteMemoryFunc * const pl011_writefn[] = { pl011_write, pl011_write, pl011_write |