[PATCH -mmotm] leds-input: depends on INPUT

From: Randy Dunlap
Date: Wed Mar 24 2010 - 15:20:06 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

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@xxxxxxxxxx>
Cc: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
Cc: Pavel Machek <pavel@xxxxxx>
Cc: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
Cc: Richard Purdie <rpurdie@xxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/