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 /hw/arm/mainstone.c | |
parent | f57d6693e1ad994374927d7ab7b151bb28f0cb37 (diff) |
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 'hw/arm/mainstone.c')
-rw-r--r-- | hw/arm/mainstone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/mainstone.c b/hw/arm/mainstone.c index 9402c841e9..276e359bf6 100644 --- a/hw/arm/mainstone.c +++ b/hw/arm/mainstone.c @@ -45,7 +45,7 @@ #define S1_STSCHG_IRQ 14 #define S1_IRQ 15 -static struct keymap map[0xE0] = { +static const struct keymap map[0xE0] = { [0 ... 0xDF] = { -1, -1 }, [0x1e] = {0,0}, /* a */ [0x30] = {0,1}, /* b */ |