diff options
Diffstat (limited to 'drivers/misc/thinkpad_acpi.c')
-rw-r--r-- | drivers/misc/thinkpad_acpi.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c index 5e25abc54008..2b73dfafac9d 100644 --- a/drivers/misc/thinkpad_acpi.c +++ b/drivers/misc/thinkpad_acpi.c | |||
@@ -133,8 +133,11 @@ enum { | |||
133 | #define TPACPI_PROC_DIR "ibm" | 133 | #define TPACPI_PROC_DIR "ibm" |
134 | #define TPACPI_ACPI_EVENT_PREFIX "ibm" | 134 | #define TPACPI_ACPI_EVENT_PREFIX "ibm" |
135 | #define TPACPI_DRVR_NAME TPACPI_FILE | 135 | #define TPACPI_DRVR_NAME TPACPI_FILE |
136 | #define TPACPI_DRVR_SHORTNAME "tpacpi" | ||
136 | #define TPACPI_HWMON_DRVR_NAME TPACPI_NAME "_hwmon" | 137 | #define TPACPI_HWMON_DRVR_NAME TPACPI_NAME "_hwmon" |
137 | 138 | ||
139 | #define TPACPI_NVRAM_KTHREAD_NAME "ktpacpi_nvramd" | ||
140 | |||
138 | #define TPACPI_MAX_ACPI_ARGS 3 | 141 | #define TPACPI_MAX_ACPI_ARGS 3 |
139 | 142 | ||
140 | /* Debugging */ | 143 | /* Debugging */ |
@@ -1523,8 +1526,7 @@ static void hotkey_poll_setup(int may_warn) | |||
1523 | (tpacpi_inputdev->users > 0 || hotkey_report_mode < 2)) { | 1526 | (tpacpi_inputdev->users > 0 || hotkey_report_mode < 2)) { |
1524 | if (!tpacpi_hotkey_task) { | 1527 | if (!tpacpi_hotkey_task) { |
1525 | tpacpi_hotkey_task = kthread_run(hotkey_kthread, | 1528 | tpacpi_hotkey_task = kthread_run(hotkey_kthread, |
1526 | NULL, | 1529 | NULL, TPACPI_NVRAM_KTHREAD_NAME); |
1527 | TPACPI_FILE "d"); | ||
1528 | if (IS_ERR(tpacpi_hotkey_task)) { | 1530 | if (IS_ERR(tpacpi_hotkey_task)) { |
1529 | tpacpi_hotkey_task = NULL; | 1531 | tpacpi_hotkey_task = NULL; |
1530 | printk(TPACPI_ERR | 1532 | printk(TPACPI_ERR |
@@ -6316,6 +6318,8 @@ static int __init thinkpad_acpi_module_init(void) | |||
6316 | /* Please remove this in year 2009 */ | 6318 | /* Please remove this in year 2009 */ |
6317 | MODULE_ALIAS("ibm_acpi"); | 6319 | MODULE_ALIAS("ibm_acpi"); |
6318 | 6320 | ||
6321 | MODULE_ALIAS(TPACPI_DRVR_SHORTNAME); | ||
6322 | |||
6319 | /* | 6323 | /* |
6320 | * DMI matching for module autoloading | 6324 | * DMI matching for module autoloading |
6321 | * | 6325 | * |