diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-08-05 01:30:13 -0400 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2010-10-21 09:36:43 -0400 |
commit | 4d291ed7217d617dacbf54b4bd35819b0d08b981 (patch) | |
tree | 8bb47a2fb8eb1117f3f59f137ecc2a477b5bf940 /drivers/platform/x86/Kconfig | |
parent | 890a7c8e8dc2d0890e795bda9ad3484ebac42c0b (diff) |
Input: hp-wmi - switch to using sparse keymap library
Instead of implementing its own version of keymap hanlding switch over
to using sparse keymap library.
Also make sure that we install notify handler only after we allocated
input device and that we remove notify handler before unregistering
input device.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/x86/Kconfig')
-rw-r--r-- | drivers/platform/x86/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index ee8b09eb70fd..1ca392f5c826 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig | |||
@@ -141,6 +141,7 @@ config HP_WMI | |||
141 | depends on ACPI_WMI | 141 | depends on ACPI_WMI |
142 | depends on INPUT | 142 | depends on INPUT |
143 | depends on RFKILL || RFKILL = n | 143 | depends on RFKILL || RFKILL = n |
144 | select INPUT_SPARSEKMAP | ||
144 | help | 145 | help |
145 | Say Y here if you want to support WMI-based hotkeys on HP laptops and | 146 | Say Y here if you want to support WMI-based hotkeys on HP laptops and |
146 | to read data from WMI such as docking or ambient light sensor state. | 147 | to read data from WMI such as docking or ambient light sensor state. |