diff options
Diffstat (limited to 'drivers/misc/asus-laptop.c')
-rw-r--r-- | drivers/misc/asus-laptop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/asus-laptop.c b/drivers/misc/asus-laptop.c index 65c32a95e121..dfec565ffa82 100644 --- a/drivers/misc/asus-laptop.c +++ b/drivers/misc/asus-laptop.c | |||
@@ -950,7 +950,7 @@ static int asus_hotk_add(struct acpi_device *device) | |||
950 | * We install the handler, it will receive the hotk in parameter, so, we | 950 | * We install the handler, it will receive the hotk in parameter, so, we |
951 | * could add other data to the hotk struct | 951 | * could add other data to the hotk struct |
952 | */ | 952 | */ |
953 | status = acpi_install_notify_handler(hotk->handle, ACPI_SYSTEM_NOTIFY, | 953 | status = acpi_install_notify_handler(hotk->handle, ACPI_ALL_NOTIFY, |
954 | asus_hotk_notify, hotk); | 954 | asus_hotk_notify, hotk); |
955 | if (ACPI_FAILURE(status)) | 955 | if (ACPI_FAILURE(status)) |
956 | printk(ASUS_ERR "Error installing notify handler\n"); | 956 | printk(ASUS_ERR "Error installing notify handler\n"); |
@@ -997,7 +997,7 @@ static int asus_hotk_remove(struct acpi_device *device, int type) | |||
997 | if (!device || !acpi_driver_data(device)) | 997 | if (!device || !acpi_driver_data(device)) |
998 | return -EINVAL; | 998 | return -EINVAL; |
999 | 999 | ||
1000 | status = acpi_remove_notify_handler(hotk->handle, ACPI_SYSTEM_NOTIFY, | 1000 | status = acpi_remove_notify_handler(hotk->handle, ACPI_ALL_NOTIFY, |
1001 | asus_hotk_notify); | 1001 | asus_hotk_notify); |
1002 | if (ACPI_FAILURE(status)) | 1002 | if (ACPI_FAILURE(status)) |
1003 | printk(ASUS_ERR "Error removing notify handler\n"); | 1003 | printk(ASUS_ERR "Error removing notify handler\n"); |