From: Randy Dunlap on
From: Randy Dunlap <randy.dunlap(a)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(a)oracle.com>
Cc: Samuel Thibault <samuel.thibault(a)ens-lyon.org>
Cc: Pavel Machek <pavel(a)ucw.cz>
Cc: Dmitry Torokhov <dmitry.torokhov(a)gmail.com>
Cc: Richard Purdie <rpurdie(a)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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/