[PATCH] Input: select INPUT_MATRIXKMAP for lpc32xx-keys

STALE5060d

2 messages, 2 authors, 2012-10-31 · open the first message on its own page

[PATCH] Input: select INPUT_MATRIXKMAP for lpc32xx-keys

From: Roland Stigge <hidden>
Date: 2012-10-27 07:41:00

This patch adds a "select" dependency of KEYBOARD_LPC32XX on INPUT_MATRIXKMAP,
as the other drivers are doing in this regard. This fixes the following compile
error if KEYBOARD_LPC32XX is enabled but INPUT_MATRIXKMAP is not:

drivers/input/keyboard/lpc32xx-keys.c:230: undefined reference to
`matrix_keypad_build_keymap'

Signed-off-by: Roland Stigge <redacted>

---
 drivers/input/keyboard/Kconfig |    1 +
 1 file changed, 1 insertion(+)
--- linux-2.6.orig/drivers/input/keyboard/Kconfig
+++ linux-2.6/drivers/input/keyboard/Kconfig
@@ -335,6 +335,7 @@ config KEYBOARD_LOCOMO
 config KEYBOARD_LPC32XX
 	tristate "LPC32XX matrix key scanner support"
 	depends on ARCH_LPC32XX && OF
+	select INPUT_MATRIXKMAP
 	help
 	  Say Y here if you want to use NXP LPC32XX SoC key scanner interface,
 	  connected to a key matrix.

Re: [PATCH] Input: select INPUT_MATRIXKMAP for lpc32xx-keys

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2012-10-31 05:55:56

On Sat, Oct 27, 2012 at 09:40:48AM +0200, Roland Stigge wrote:
This patch adds a "select" dependency of KEYBOARD_LPC32XX on INPUT_MATRIXKMAP,
as the other drivers are doing in this regard. This fixes the following compile
error if KEYBOARD_LPC32XX is enabled but INPUT_MATRIXKMAP is not:

drivers/input/keyboard/lpc32xx-keys.c:230: undefined reference to
`matrix_keypad_build_keymap'

Signed-off-by: Roland Stigge <redacted>
Applied, thank you Roland.
quoted hunk
---
 drivers/input/keyboard/Kconfig |    1 +
 1 file changed, 1 insertion(+)
--- linux-2.6.orig/drivers/input/keyboard/Kconfig
+++ linux-2.6/drivers/input/keyboard/Kconfig
@@ -335,6 +335,7 @@ config KEYBOARD_LOCOMO
 config KEYBOARD_LPC32XX
 	tristate "LPC32XX matrix key scanner support"
 	depends on ARCH_LPC32XX && OF
+	select INPUT_MATRIXKMAP
 	help
 	  Say Y here if you want to use NXP LPC32XX SoC key scanner interface,
 	  connected to a key matrix.
-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help