mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -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
|
@ -33,7 +33,7 @@
|
|||
#define DPRINTF(fmt, ...)
|
||||
#endif
|
||||
|
||||
static struct keymap map[0x100] = {
|
||||
static const struct keymap map[0x100] = {
|
||||
[0 ... 0xff] = { -1, -1 },
|
||||
[0x3b] = {0, 0}, /* Option = F1 */
|
||||
[0xc8] = {0, 1}, /* Up */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue