summaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/atkbd.c
diff options
context:
space:
mode:
authorDaniel Mierswa <impulze@impulze.org>2009-01-11 08:44:22 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-01-11 08:46:00 +0100
commit520abcdeb13de23e22b7d4367b1c3b136ef3b108 (patch)
tree48fc8407fabe5db27303b822b14f41367a71be78 /drivers/input/keyboard/atkbd.c
parentInput: usbtouchscreen - allow reporting calibrated data (diff)
downloadlinux-520abcdeb13de23e22b7d4367b1c3b136ef3b108.tar.xz
linux-520abcdeb13de23e22b7d4367b1c3b136ef3b108.zip
Input: atkbd - make forced_release_keys[] static
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/keyboard/atkbd.c')
-rw-r--r--drivers/input/keyboard/atkbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
index f6e9f39a527b..6df9ba186121 100644
--- a/drivers/input/keyboard/atkbd.c
+++ b/drivers/input/keyboard/atkbd.c
@@ -839,7 +839,7 @@ static void atkbd_disconnect(struct serio *serio)
*/
static void atkbd_dell_laptop_keymap_fixup(struct atkbd *atkbd)
{
- const unsigned int forced_release_keys[] = {
+ static const unsigned int forced_release_keys[] = {
0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8f, 0x93,
};
int i;
@@ -856,7 +856,7 @@ static void atkbd_dell_laptop_keymap_fixup(struct atkbd *atkbd)
*/
static void atkbd_hp_keymap_fixup(struct atkbd *atkbd)
{
- const unsigned int forced_release_keys[] = {
+ static const unsigned int forced_release_keys[] = {
0x94,
};
int i;