From e7d0628ceacf59edc1c9c390a3117fc177486817 Mon Sep 17 00:00:00 2001 From: Joonyoung Shim Date: Mon, 21 Jun 2010 16:28:28 +0900 Subject: ARM: S5PV210: Add keypad device helpers This patch adds the keypad device platform helpers for S5PV210 cpu. Signed-off-by: Joonyoung Shim Signed-off-by: Kyungmin Park Signed-off-by: Kukjin Kim --- arch/arm/mach-s5pv210/cpu.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm/mach-s5pv210/cpu.c') diff --git a/arch/arm/mach-s5pv210/cpu.c b/arch/arm/mach-s5pv210/cpu.c index 8c4fdcde7f3..15e983a3f09 100644 --- a/arch/arm/mach-s5pv210/cpu.c +++ b/arch/arm/mach-s5pv210/cpu.c @@ -34,6 +34,7 @@ #include #include #include +#include #include /* Initial IO mappings */ @@ -93,6 +94,9 @@ void __init s5pv210_map_io(void) s3c_i2c0_setname("s3c2440-i2c"); s3c_i2c1_setname("s3c2440-i2c"); s3c_i2c2_setname("s3c2440-i2c"); + + /* Use s5pv210-keypad instead of samsung-keypad */ + samsung_keypad_setname("s5pv210-keypad"); } void __init s5pv210_init_clocks(int xtal) -- cgit v1.2.3-70-g09d2