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

Previous thread: [PATCH] fix INIT_KFIFO in include/linux/kfifo.h - part 2 by David =?iso-8859-1?Q?H=E4rdeman?= on Tuesday, March 23, 2010 - 3:26 pm. (2 messages)

Next thread: [PATCH] arm: Remove GENERIC_TIME cruft by John Stultz on Tuesday, March 23, 2010 - 4:05 pm. (1 message)
From: akpm
Date: Tuesday, March 23, 2010 - 3:34 pm

The mm-of-the-moment snapshot 2010-03-23-15-34 has been uploaded to

   http://userweb.kernel.org/~akpm/mmotm/

and will soon be available at

   git://zen-kernel.org/kernel/mmotm.git

It contains the following patches against ...
From: Randy Dunlap
Date: Wednesday, March 24, 2010 - 12:18 pm

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
--

From: Samuel Thibault
Date: Wednesday, March 24, 2010 - 4:06 pm

ACK.

Samuel
--

Previous thread: [PATCH] fix INIT_KFIFO in include/linux/kfifo.h - part 2 by David =?iso-8859-1?Q?H=E4rdeman?= on Tuesday, March 23, 2010 - 3:26 pm. (2 messages)

Next thread: [PATCH] arm: Remove GENERIC_TIME cruft by John Stultz on Tuesday, March 23, 2010 - 4:05 pm. (1 message)