diff options
author | Stefan Weil <sw@weilnetz.de> | 2013-12-22 15:22:57 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-01-01 18:03:55 +0400 |
commit | 52975c313ee4b5ce2004c1ed3279272a55429ede (patch) | |
tree | 9306e800a00132bfd47e72b05892948fe38f3138 /include | |
parent | f57d6693e1ad994374927d7ab7b151bb28f0cb37 (diff) | |
download | qemu-52975c313ee4b5ce2004c1ed3279272a55429ede.zip qemu-52975c313ee4b5ce2004c1ed3279272a55429ede.tar.gz qemu-52975c313ee4b5ce2004c1ed3279272a55429ede.tar.bz2 |
pxa27x: Add 'const' attribute to keyboard maps
The mapping is a hardware feature, so it is relatively constant.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/arm/pxa.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/arm/pxa.h b/include/hw/arm/pxa.h index 6db1ff3..7ca330a 100644 --- a/include/hw/arm/pxa.h +++ b/include/hw/arm/pxa.h @@ -109,8 +109,8 @@ typedef struct PXA2xxKeyPadState PXA2xxKeyPadState; PXA2xxKeyPadState *pxa27x_keypad_init(MemoryRegion *sysmem, hwaddr base, qemu_irq irq); -void pxa27x_register_keypad(PXA2xxKeyPadState *kp, struct keymap *map, - int size); +void pxa27x_register_keypad(PXA2xxKeyPadState *kp, + const struct keymap *map, int size); /* pxa2xx.c */ typedef struct PXA2xxI2CState PXA2xxI2CState; |