]> git.karo-electronics.de Git - karo-tx-linux.git/commit
input: samsung-keypad: Add HAVE_SAMSUNG_KEYPAD config option
authorThomas Abraham <thomas.abraham@linaro.org>
Wed, 2 Nov 2011 10:37:22 +0000 (19:37 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 8 Nov 2011 10:09:43 +0000 (19:09 +0900)
commit007205aa47e91604259769a8c2cce1bed2695667
treefaff258aeb9a3018f841b2df0e6812e4f6dbc509
parent0368c07ee2958fb09a5245ca56adb447c8de3685
input: samsung-keypad: Add HAVE_SAMSUNG_KEYPAD config option

For platforms using device tree, the static keypad device instances
are not required and SAMSUNG_DEV_KEYPAD is not selected. Since,
samsung keypad driver has dependency on SAMSUNG_DEV_KEYPAD config
option, the driver is left out of the compilation for dt enabled
platforms.

An additional config option 'HAVE_SAMSUNG_KEYPAD' is added
which the device tree based platforms can select. This config
option is added as an alternative dependency for keypad driver.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/input/keyboard/Kconfig