]> 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>
Wed, 2 Nov 2011 11:51:25 +0000 (20:51 +0900)
commitf737bc2c7ede6efb6478fa9ce8766ea20620fda7
treeaac5ad11fc4f8f858ec4c014199024b9ecf81626
parent126ef773cc8be38d7632d631deb7624a5c6d82b1
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