summaryrefslogtreecommitdiffstats
path: root/add-macbookair41-keyboard.patch
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2011-09-20 10:57:18 +0100
committerBastien Nocera <hadess@hadess.net>2011-09-20 10:57:18 +0100
commitc3d90048f0786b8af71da33d1b7e21f8563ae85b (patch)
tree0400e8e6c4c3208e6a9cb4f0a30a731ca4acf62e /add-macbookair41-keyboard.patch
parentbd4ac46f6678cb4a789516ee15990a4ce66e894b (diff)
downloadkernel-c3d90048f0786b8af71da33d1b7e21f8563ae85b.tar.gz
kernel-c3d90048f0786b8af71da33d1b7e21f8563ae85b.tar.xz
kernel-c3d90048f0786b8af71da33d1b7e21f8563ae85b.zip
Fix MacBookAir4,1 keymap, see http://thread.gmane.org/gmane.linux.kernel.input/21462/focus=21626
Diffstat (limited to 'add-macbookair41-keyboard.patch')
-rw-r--r--add-macbookair41-keyboard.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/add-macbookair41-keyboard.patch b/add-macbookair41-keyboard.patch
index cb8c71d9e..bd5afdafe 100644
--- a/add-macbookair41-keyboard.patch
+++ b/add-macbookair41-keyboard.patch
@@ -59,7 +59,7 @@ diff -uNr linux/drivers/hid/hid-apple.c patched/drivers/hid/hid-apple.c
table = macbookair_fn_keys;
+ else if (hid->product >= USB_DEVICE_ID_APPLE_WELLSPRING6A_ANSI &&
+ hid->product <= USB_DEVICE_ID_APPLE_WELLSPRING6A_JIS)
-+ table = macbookair_fn_keys;
++ table = apple_fn_keys;
else if (hid->product < 0x21d || hid->product >= 0x300)
table = powerbook_fn_keys;
else