diff options
Diffstat (limited to 'hw/pckbd.c')
-rw-r--r-- | hw/pckbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pckbd.c b/hw/pckbd.c index bb4cc0e9db..6d97e33c04 100644 --- a/hw/pckbd.c +++ b/hw/pckbd.c @@ -405,13 +405,13 @@ static void kbd_mm_writeb (void *opaque, target_phys_addr_t addr, uint32_t value kbd_write_data(s, 0, value & 0xff); } -static CPUReadMemoryFunc *kbd_mm_read[] = { +static CPUReadMemoryFunc * const kbd_mm_read[] = { &kbd_mm_readb, &kbd_mm_readb, &kbd_mm_readb, }; -static CPUWriteMemoryFunc *kbd_mm_write[] = { +static CPUWriteMemoryFunc * const kbd_mm_write[] = { &kbd_mm_writeb, &kbd_mm_writeb, &kbd_mm_writeb, |