diff options
-rw-r--r-- | drivers/platform/x86/msi-wmi.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/platform/x86/msi-wmi.c b/drivers/platform/x86/msi-wmi.c index 75e422b27531..d7579359a2c5 100644 --- a/drivers/platform/x86/msi-wmi.c +++ b/drivers/platform/x86/msi-wmi.c | |||
@@ -56,7 +56,6 @@ struct key_entry { | |||
56 | char type; /* See KE_* below */ | 56 | char type; /* See KE_* below */ |
57 | u16 code; | 57 | u16 code; |
58 | u16 keycode; | 58 | u16 keycode; |
59 | int instance; | ||
60 | ktime_t last_pressed; | 59 | ktime_t last_pressed; |
61 | }; | 60 | }; |
62 | 61 | ||
@@ -67,10 +66,10 @@ struct key_entry { | |||
67 | enum { KE_KEY, KE_END }; | 66 | enum { KE_KEY, KE_END }; |
68 | 67 | ||
69 | static struct key_entry msi_wmi_keymap[] = { | 68 | static struct key_entry msi_wmi_keymap[] = { |
70 | { KE_KEY, 0xd0, KEY_BRIGHTNESSUP, 0, {0, } }, | 69 | { KE_KEY, 0xd0, KEY_BRIGHTNESSUP, {0, } }, |
71 | { KE_KEY, 0xd1, KEY_BRIGHTNESSDOWN, 1, {0, } }, | 70 | { KE_KEY, 0xd1, KEY_BRIGHTNESSDOWN, {0, } }, |
72 | { KE_KEY, 0xd2, KEY_VOLUMEUP, 2, {0, } }, | 71 | { KE_KEY, 0xd2, KEY_VOLUMEUP, {0, } }, |
73 | { KE_KEY, 0xd3, KEY_VOLUMEDOWN, 3, {0, } }, | 72 | { KE_KEY, 0xd3, KEY_VOLUMEDOWN, {0, } }, |
74 | { KE_END, 0} | 73 | { KE_END, 0} |
75 | }; | 74 | }; |
76 | 75 | ||