diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/keyboard/Kconfig | 5 | ||||
-rw-r--r-- | drivers/input/keyboard/samsung-keypad.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index 90d5f0a8f882..cdc385b2cf7d 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig | |||
@@ -441,9 +441,10 @@ config KEYBOARD_PMIC8XXX | |||
441 | 441 | ||
442 | config KEYBOARD_SAMSUNG | 442 | config KEYBOARD_SAMSUNG |
443 | tristate "Samsung keypad support" | 443 | tristate "Samsung keypad support" |
444 | depends on SAMSUNG_DEV_KEYPAD | 444 | depends on HAVE_CLK |
445 | help | 445 | help |
446 | Say Y here if you want to use the Samsung keypad. | 446 | Say Y here if you want to use the keypad on your Samsung mobile |
447 | device. | ||
447 | 448 | ||
448 | To compile this driver as a module, choose M here: the | 449 | To compile this driver as a module, choose M here: the |
449 | module will be called samsung-keypad. | 450 | module will be called samsung-keypad. |
diff --git a/drivers/input/keyboard/samsung-keypad.c b/drivers/input/keyboard/samsung-keypad.c index d244fdf9ecdf..1a2b755564f2 100644 --- a/drivers/input/keyboard/samsung-keypad.c +++ b/drivers/input/keyboard/samsung-keypad.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/platform_device.h> | 22 | #include <linux/platform_device.h> |
23 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
24 | #include <linux/sched.h> | 24 | #include <linux/sched.h> |
25 | #include <plat/keypad.h> | 25 | #include <linux/input/samsung-keypad.h> |
26 | 26 | ||
27 | #define SAMSUNG_KEYIFCON 0x00 | 27 | #define SAMSUNG_KEYIFCON 0x00 |
28 | #define SAMSUNG_KEYIFSTSCLR 0x04 | 28 | #define SAMSUNG_KEYIFSTSCLR 0x04 |