mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
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>
This commit is contained in:
parent
f57d6693e1
commit
52975c313e
4 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue