Skip to content

Commit

Permalink
thinkpad-acpi: module autoloading for newer Lenovo ThinkPads.
Browse files Browse the repository at this point in the history
The newer Lenovo ThinkPads have HKEY HID of LEN0068 instead
of IBM0068. Added new HID so that thinkpad_acpi module will
auto load on these newer Lenovo ThinkPads.

Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: stable@kernel.org
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Andy Lutomirski <luto@mit.edu>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
  • Loading branch information
Manoj Iyer authored and Matthew Garrett committed May 9, 2011
1 parent 8b06161 commit 9fbdaeb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/platform/x86/thinkpad_acpi.c
Expand Up @@ -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 */
Expand Down Expand Up @@ -3879,7 +3880,8 @@ static int hotkey_write(char *buf)
}

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},
};

Expand Down

0 comments on commit 9fbdaeb

Please sign in to comment.