[PATCH] thinkpad_acpi: Add ACPI HID for ThinkPad X220

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It looks like Lenovo is starting to remove old IBM references.

Signed-off-by: Andy Lutomirski <luto@xxxxxxx>
---

This patch is needed for thinkpad_acpi to load automatically on my
ThinkPad X220.  (It seems to *work* without the patch, though.)

 drivers/platform/x86/thinkpad_acpi.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
index eb99223..4025d84 100644
--- a/drivers/platform/x86/thinkpad_acpi.c
+++ b/drivers/platform/x86/thinkpad_acpi.c
@@ -129,6 +129,7 @@ enum {
 
 /* ACPI HIDs */
 #define TPACPI_ACPI_HKEY_HID		"IBM0068"
+#define TPACPI_ACPI_HKEY_HID_LEN	"LEN0068"
 #define TPACPI_ACPI_EC_HID		"PNP0C09"
 
 /* Input IDs */
@@ -3880,6 +3881,7 @@ errexit:
 
 static const struct acpi_device_id ibm_htk_device_ids[] = {
 	{TPACPI_ACPI_HKEY_HID, 0},
+	{TPACPI_ACPI_HKEY_HID_LEN, 0},
 	{"", 0},
 };
 
-- 
1.7.4.4

--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux