summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210/cpu.c
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2010-06-21 09:28:28 +0200
committerKukjin Kim <kgene.kim@samsung.com>2010-08-05 11:31:01 +0200
commite7d0628ceacf59edc1c9c390a3117fc177486817 (patch)
tree57169999a7aa0beb64ab02556d31aa170c595be5 /arch/arm/mach-s5pv210/cpu.c
parentARM: s5pv210_defconfig: Update for removing s5pc110_defconfig (diff)
downloadlinux-e7d0628ceacf59edc1c9c390a3117fc177486817.tar.xz
linux-e7d0628ceacf59edc1c9c390a3117fc177486817.zip
ARM: S5PV210: Add keypad device helpers
This patch adds the keypad device platform helpers for S5PV210 cpu. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210/cpu.c')
-rw-r--r--arch/arm/mach-s5pv210/cpu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/cpu.c b/arch/arm/mach-s5pv210/cpu.c
index 8c4fdcde7f3b..15e983a3f09f 100644
--- a/arch/arm/mach-s5pv210/cpu.c
+++ b/arch/arm/mach-s5pv210/cpu.c
@@ -34,6 +34,7 @@
#include <plat/s5pv210.h>
#include <plat/ata-core.h>
#include <plat/iic-core.h>
+#include <plat/keypad-core.h>
#include <plat/sdhci.h>
/* 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)