ui: remove pointless double const in keymap declarations

clang does not like two const specifiers in one declaration, so
remove one to let clang compile kvmtool.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
This commit is contained in:
Andre Przywara
2015-07-17 17:02:11 +01:00
committed by Will Deacon
parent 5389d44f5f
commit 369c27e683
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ struct set2_scancode {
.type = SCANCODE_ESCAPED, \
}
static const struct set2_scancode const keymap[256] = {
static const struct set2_scancode keymap[256] = {
[9] = DEFINE_SC(0x76), /* <esc> */
[10] = DEFINE_SC(0x16), /* 1 */
[11] = DEFINE_SC(0x1e), /* 2 */

View File

@@ -36,7 +36,7 @@ struct set2_scancode {
.type = SCANCODE_ESCAPED,\
}
static const struct set2_scancode const keymap[256] = {
static const struct set2_scancode keymap[256] = {
[9] = DEFINE_SC(0x76), /* <esc> */
[10] = DEFINE_SC(0x16), /* 1 */
[11] = DEFINE_SC(0x1e), /* 2 */