aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/Kconfig
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-05-11 01:37:08 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-05-11 01:38:47 -0400
commit1932811f426fee71b7ece67e70aeba7e1b0ebb6d (patch)
treeffc4598961733707a89e711b4614c8cc14446ad5 /drivers/input/Kconfig
parentd0a3457d38adbad37e43ffe6b763360b2bfe71d9 (diff)
Input: matrix-keymap - uninline and prepare for device tree support
Change matrix-keymap helper to be out-of-line, like sparse keymap, allow the helper perform basic keymap validation and return errors, and prepare for device tree support. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/Kconfig')
-rw-r--r--drivers/input/Kconfig17
1 files changed, 13 insertions, 4 deletions
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
index 332597980817..55f7e57d4e42 100644
--- a/drivers/input/Kconfig
+++ b/drivers/input/Kconfig
@@ -25,10 +25,6 @@ config INPUT
25 25
26if INPUT 26if INPUT
27 27
28config INPUT_OF_MATRIX_KEYMAP
29 depends on USE_OF
30 bool
31
32config INPUT_FF_MEMLESS 28config INPUT_FF_MEMLESS
33 tristate "Support for memoryless force-feedback devices" 29 tristate "Support for memoryless force-feedback devices"
34 help 30 help
@@ -68,6 +64,19 @@ config INPUT_SPARSEKMAP
68 To compile this driver as a module, choose M here: the 64 To compile this driver as a module, choose M here: the
69 module will be called sparse-keymap. 65 module will be called sparse-keymap.
70 66
67config INPUT_MATRIXKMAP
68 tristate "Matrix keymap support library"
69 help
70 Say Y here if you are using a driver for an input
71 device that uses matrix keymap. This option is only
72 useful for out-of-tree drivers since in-tree drivers
73 select it automatically.
74
75 If unsure, say N.
76
77 To compile this driver as a module, choose M here: the
78 module will be called matrix-keymap.
79
71comment "Userland interfaces" 80comment "Userland interfaces"
72 81
73config INPUT_MOUSEDEV 82config INPUT_MOUSEDEV