classmate-laptop: Fix extra keys hardware id.
authorMiguel Gómez <magomez@igalia.com>
Tue, 24 Jul 2012 13:05:25 +0000 (15:05 +0200)
committerMatthew Garrett <mjg@redhat.com>
Sat, 28 Jul 2012 04:28:53 +0000 (00:28 -0400)
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>
drivers/platform/x86/classmate-laptop.c

index 33f4d2c..2ca7dd1 100644 (file)
@@ -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.