Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177586
b: refs/heads/master
c: 977f9b9
h: refs/heads/master
v: v3
  • Loading branch information
Anisse Astier authored and Len Brown committed Dec 16, 2009
1 parent 676b616 commit 2357b76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 822ddc042a12aa2a8c2030ad4ebc660bc0e66c3f
refs/heads/master: 977f9b921c82726745a8b7281dc679edb32b4906
9 changes: 4 additions & 5 deletions trunk/drivers/platform/x86/msi-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ struct key_entry {
char type; /* See KE_* below */
u16 code;
u16 keycode;
int instance;
ktime_t last_pressed;
};

Expand All @@ -67,10 +66,10 @@ struct key_entry {
enum { KE_KEY, KE_END };

static struct key_entry msi_wmi_keymap[] = {
{ KE_KEY, 0xd0, KEY_BRIGHTNESSUP, 0, {0, } },
{ KE_KEY, 0xd1, KEY_BRIGHTNESSDOWN, 1, {0, } },
{ KE_KEY, 0xd2, KEY_VOLUMEUP, 2, {0, } },
{ KE_KEY, 0xd3, KEY_VOLUMEDOWN, 3, {0, } },
{ KE_KEY, 0xd0, KEY_BRIGHTNESSUP, {0, } },
{ KE_KEY, 0xd1, KEY_BRIGHTNESSDOWN, {0, } },
{ KE_KEY, 0xd2, KEY_VOLUMEUP, {0, } },
{ KE_KEY, 0xd3, KEY_VOLUMEDOWN, {0, } },
{ KE_END, 0}
};

Expand Down

0 comments on commit 2357b76

Please sign in to comment.