From: Randy Dunlap <randy.dunlap@oracle.com>
leds-input uses input_*() functions so it should depend on INPUT.
leds-input.c:(.text+0x6e0513): undefined reference to `input_unregister_handle'
leds-input.c:(.text+0x6e06eb): undefined reference to `input_inject_event'
leds-input.c:(.text+0x6e0700): undefined reference to `input_inject_event'
leds-input.c:(.text+0x6e0906): undefined reference to `input_register_handle'
leds-input.c:(.text+0x6e0bdc): undefined reference to `input_unregister_handler'
leds-input.c:(.init.text+0x285c8): undefined reference to `input_register_handler'
leds-input.c:(.exit.text+0x7b04): undefined reference to `input_unregister_handler'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
---
drivers/leds/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- mmotm-2010-0323-1534.orig/drivers/leds/Kconfig
+++ mmotm-2010-0323-1534/drivers/leds/Kconfig
@@ -25,7 +25,7 @@ config LEDS_88PM860X
config LEDS_INPUT
tristate "LED Support using input keyboards"
- depends on LEDS_CLASS
+ depends on LEDS_CLASS && INPUT
select LEDS_TRIGGERS
help
This option enables support for the LEDs on keyboard managed
--