diff options
author | Andreas Herrmann <aherrman@arcor.de> | 2007-09-17 16:54:34 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-09-18 12:52:00 -0400 |
commit | 8a66074c379cacc79168681bf7dea37ad278f5d1 (patch) | |
tree | e249f39a9d96f1d370f6cbdba1c98062ded86384 /drivers/misc/Kconfig | |
parent | c2f828977ba5d17c13debba374ea252d18e5ccfb (diff) |
sony-laptop/thinkpad-acpi: fix INPUT=n build
Build errors if CONFIG_SONY_LAPTOP && !INPUT or
if CONFIG_THINKPAD_ACPI && !INPUT:
LD vmlinux
...
drivers/built-in.o: In function `sony_laptop_remove_input':
sony-laptop.c:(.text+0x768fb): undefined reference to `input_unregister_device'
...
drivers/built-in.o: In function `thinkpad_acpi_module_exit':
thinkpad_acpi.c:(.text+0x78c1b): undefined reference to `input_free_device'
...
Signed-off-by: Andreas Herrmann <aherrman@arcor.de>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Acked-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/misc/Kconfig')
-rw-r--r-- | drivers/misc/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 73e248fb2ff1..7b580c3152de 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig | |||
@@ -134,6 +134,7 @@ config SONY_LAPTOP | |||
134 | tristate "Sony Laptop Extras" | 134 | tristate "Sony Laptop Extras" |
135 | depends on X86 && ACPI | 135 | depends on X86 && ACPI |
136 | select BACKLIGHT_CLASS_DEVICE | 136 | select BACKLIGHT_CLASS_DEVICE |
137 | depends on INPUT | ||
137 | ---help--- | 138 | ---help--- |
138 | This mini-driver drives the SNC and SPIC devices present in the ACPI | 139 | This mini-driver drives the SNC and SPIC devices present in the ACPI |
139 | BIOS of the Sony Vaio laptops. | 140 | BIOS of the Sony Vaio laptops. |
@@ -156,6 +157,7 @@ config THINKPAD_ACPI | |||
156 | select BACKLIGHT_CLASS_DEVICE | 157 | select BACKLIGHT_CLASS_DEVICE |
157 | select HWMON | 158 | select HWMON |
158 | select NVRAM | 159 | select NVRAM |
160 | depends on INPUT | ||
159 | ---help--- | 161 | ---help--- |
160 | This is a driver for the IBM and Lenovo ThinkPad laptops. It adds | 162 | This is a driver for the IBM and Lenovo ThinkPad laptops. It adds |
161 | support for Fn-Fx key combinations, Bluetooth control, video | 163 | support for Fn-Fx key combinations, Bluetooth control, video |