@@ -166,6 +166,7 @@ config KEYBOARD_LKKBD
166166config KEYBOARD_EP93XX
167167 tristate "EP93xx Matrix Keypad support"
168168 depends on ARCH_EP93XX
169+ select INPUT_MATRIXKMAP
169170 help
170171 Say Y here to enable the matrix keypad on the Cirrus EP93XX.
171172
@@ -224,6 +225,7 @@ config KEYBOARD_TCA6416
224225config KEYBOARD_TCA8418
225226 tristate "TCA8418 Keypad Support"
226227 depends on I2C
228+ select INPUT_MATRIXKMAP
227229 help
228230 This driver implements basic keypad functionality
229231 for keys connected through TCA8418 keypad decoder.
@@ -240,6 +242,7 @@ config KEYBOARD_TCA8418
240242config KEYBOARD_MATRIX
241243 tristate "GPIO driven matrix keypad support"
242244 depends on GENERIC_GPIO
245+ select INPUT_MATRIXKMAP
243246 help
244247 Enable support for GPIO driven matrix keypad.
245248
@@ -312,6 +315,7 @@ config KEYBOARD_LM8323
312315config KEYBOARD_LM8333
313316 tristate "LM8333 keypad chip"
314317 depends on I2C
318+ select INPUT_MATRIXKMAP
315319 help
316320 If you say yes here you get support for the National Semiconductor
317321 LM8333 keypad controller.
@@ -376,6 +380,7 @@ config KEYBOARD_MPR121
376380config KEYBOARD_IMX
377381 tristate "IMX keypad support"
378382 depends on ARCH_MXC
383+ select INPUT_MATRIXKMAP
379384 help
380385 Enable support for IMX keypad port.
381386
@@ -394,6 +399,7 @@ config KEYBOARD_NEWTON
394399config KEYBOARD_NOMADIK
395400 tristate "ST-Ericsson Nomadik SKE keyboard"
396401 depends on PLAT_NOMADIK
402+ select INPUT_MATRIXKMAP
397403 help
398404 Say Y here if you want to use a keypad provided on the SKE controller
399405 used on the Ux500 and Nomadik platforms
@@ -404,7 +410,7 @@ config KEYBOARD_NOMADIK
404410config KEYBOARD_TEGRA
405411 tristate "NVIDIA Tegra internal matrix keyboard controller support"
406412 depends on ARCH_TEGRA
407- select INPUT_OF_MATRIX_KEYMAP if USE_OF
413+ select INPUT_MATRIXKMAP
408414 help
409415 Say Y here if you want to use a matrix keyboard connected directly
410416 to the internal keyboard controller on Tegra SoCs.
@@ -442,6 +448,7 @@ config KEYBOARD_PXA930_ROTARY
442448config KEYBOARD_PMIC8XXX
443449 tristate "Qualcomm PMIC8XXX keypad support"
444450 depends on MFD_PM8XXX
451+ select INPUT_MATRIXKMAP
445452 help
446453 Say Y here if you want to enable the driver for the PMIC8XXX
447454 keypad provided as a reference design from Qualcomm. This is intended
@@ -453,6 +460,7 @@ config KEYBOARD_PMIC8XXX
453460config KEYBOARD_SAMSUNG
454461 tristate "Samsung keypad support"
455462 depends on HAVE_CLK
463+ select INPUT_MATRIXKMAP
456464 help
457465 Say Y here if you want to use the keypad on your Samsung mobile
458466 device.
@@ -495,6 +503,7 @@ config KEYBOARD_SH_KEYSC
495503config KEYBOARD_STMPE
496504 tristate "STMPE keypad support"
497505 depends on MFD_STMPE
506+ select INPUT_MATRIXKMAP
498507 help
499508 Say Y here if you want to use the keypad controller on STMPE I/O
500509 expanders.
@@ -515,6 +524,7 @@ config KEYBOARD_DAVINCI
515524config KEYBOARD_OMAP
516525 tristate "TI OMAP keypad support"
517526 depends on (ARCH_OMAP1 || ARCH_OMAP2)
527+ select INPUT_MATRIXKMAP
518528 help
519529 Say Y here if you want to use the OMAP keypad.
520530
@@ -523,6 +533,7 @@ config KEYBOARD_OMAP
523533
524534config KEYBOARD_OMAP4
525535 tristate "TI OMAP4+ keypad support"
536+ select INPUT_MATRIXKMAP
526537 help
527538 Say Y here if you want to use the OMAP4+ keypad.
528539
@@ -532,6 +543,7 @@ config KEYBOARD_OMAP4
532543config KEYBOARD_SPEAR
533544 tristate "ST SPEAR keyboard support"
534545 depends on PLAT_SPEAR
546+ select INPUT_MATRIXKMAP
535547 help
536548 Say Y here if you want to use the SPEAR keyboard.
537549
@@ -541,6 +553,7 @@ config KEYBOARD_SPEAR
541553config KEYBOARD_TC3589X
542554 tristate "TC3589X Keypad support"
543555 depends on MFD_TC3589X
556+ select INPUT_MATRIXKMAP
544557 help
545558 Say Y here if you want to use the keypad controller on
546559 TC35892/3 I/O expander.
@@ -551,6 +564,7 @@ config KEYBOARD_TC3589X
551564config KEYBOARD_TNETV107X
552565 tristate "TI TNETV107X keypad support"
553566 depends on ARCH_DAVINCI_TNETV107X
567+ select INPUT_MATRIXKMAP
554568 help
555569 Say Y here if you want to use the TNETV107X keypad.
556570
@@ -560,6 +574,7 @@ config KEYBOARD_TNETV107X
560574config KEYBOARD_TWL4030
561575 tristate "TI TWL4030/TWL5030/TPS659x0 keypad support"
562576 depends on TWL4030_CORE
577+ select INPUT_MATRIXKMAP
563578 help
564579 Say Y here if your board use the keypad controller on
565580 TWL4030 family chips. It's safe to say enable this
@@ -583,6 +598,7 @@ config KEYBOARD_XTKBD
583598config KEYBOARD_W90P910
584599 tristate "W90P910 Matrix Keypad support"
585600 depends on ARCH_W90X900
601+ select INPUT_MATRIXKMAP
586602 help
587603 Say Y here to enable the matrix keypad on evaluation board
588604 based on W90P910.
0 commit comments