[PATCH] UBUNTU: SAUCE: thinkpad-acpi: module autoloading for newer Lenovo ThinkPads.
Manoj Iyer
manoj.iyer at canonical.com
Tue Mar 29 20:37:33 UTC 2011
This patch was submitted upstream and acked by maintainer but not yet in
linus tree.
Signed-off-by: Manoj Iyer <manoj.iyer at canonical.com>
BugLink: http://launchpad.net/bugs/745217
---
drivers/platform/x86/thinkpad_acpi.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
index babc4d4..e2cce36 100644
--- a/drivers/platform/x86/thinkpad_acpi.c
+++ b/drivers/platform/x86/thinkpad_acpi.c
@@ -128,7 +128,8 @@ enum {
};
/* ACPI HIDs */
-#define TPACPI_ACPI_HKEY_HID "IBM0068"
+#define TPACPI_ACPI_IBM_HKEY_HID "IBM0068"
+#define TPACPI_ACPI_LENOVO_HKEY_HID "LEN0068"
#define TPACPI_ACPI_EC_HID "PNP0C09"
/* Input IDs */
@@ -3882,7 +3883,8 @@ errexit:
}
static const struct acpi_device_id ibm_htk_device_ids[] = {
- {TPACPI_ACPI_HKEY_HID, 0},
+ {TPACPI_ACPI_IBM_HKEY_HID, 0},
+ {TPACPI_ACPI_LENOVO_HKEY_HID, 0},
{"", 0},
};
--
1.7.1
More information about the kernel-team
mailing list