summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorMiguel Gómez <magomez@igalia.com>2012-07-24 15:05:25 +0200
committerMatthew Garrett <mjg@redhat.com>2012-07-28 00:28:53 -0400
commit0ece8d515c264078a144bc597d0ffc40645ce378 (patch)
tree79de1740b536d519fe6b3d4615b9a52ef419eb7b /drivers/platform
parent7125587df4e87224dbd3b90ddf6f23e83044ae30 (diff)
downloadop-kernel-dev-0ece8d515c264078a144bc597d0ffc40645ce378.zip
op-kernel-dev-0ece8d515c264078a144bc597d0ffc40645ce378.tar.gz
classmate-laptop: Fix extra keys hardware id.
Since ACPI devices ids were changed to use always upper-case letters, the ACPI id of the extra keys (FNBT0000) was not maching the one defined in the driver (FnBT0000), causing the extra keys not to work. The patch replaces the driver id with the one reported by ACPI, fixing the problem. Signed-off-by: Miguel Gómez <magomez@igalia.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/classmate-laptop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/classmate-laptop.c b/drivers/platform/x86/classmate-laptop.c
index 33f4d2c..2ca7dd1 100644
--- a/drivers/platform/x86/classmate-laptop.c
+++ b/drivers/platform/x86/classmate-laptop.c
@@ -45,7 +45,7 @@ struct cmpc_accel {
#define CMPC_ACCEL_HID_V4 "ACCE0001"
#define CMPC_TABLET_HID "TBLT0000"
#define CMPC_IPML_HID "IPML200"
-#define CMPC_KEYS_HID "FnBT0000"
+#define CMPC_KEYS_HID "FNBT0000"
/*
* Generic input device code.
OpenPOWER on IntegriCloud