aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c2442/mach-gta02.c
diff options
context:
space:
mode:
authorNelson Castillo <arhuaco@freaks-unidos.net>2009-09-18 01:45:39 -0500
committerNelson Castillo <arhuaco@freaks-unidos.net>2009-09-22 23:08:06 -0500
commit7ddf2bb46771e10d4cc7da94b3c1210426806def (patch)
tree01c461e2cbeaf743b11a4832817dab9934895d82 /arch/arm/mach-s3c2442/mach-gta02.c
parent16e3d48d8ff84d279483b237c1e509ff1388eca2 (diff)
Make s3c TS driver use s3c-adc API
I had a patch by Vasily Khoruzhick <anarsoul@gmail.com> in the linux-arm-kernel as a guide for some of the changes. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
Diffstat (limited to 'arch/arm/mach-s3c2442/mach-gta02.c')
-rw-r--r--arch/arm/mach-s3c2442/mach-gta02.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2442/mach-gta02.c b/arch/arm/mach-s3c2442/mach-gta02.c
index e4f052595bd..346c2298b08 100644
--- a/arch/arm/mach-s3c2442/mach-gta02.c
+++ b/arch/arm/mach-s3c2442/mach-gta02.c
@@ -1717,6 +1717,9 @@ static void __init gta02_machine_init(void)
gta02_vibrator_dev.dev.parent = &s3c24xx_pwm_device.dev;
platform_device_register(&gta02_vibrator_dev);
#endif
+#ifdef CONFIG_S3C24XX_ADC
+ platform_device_register(&s3c_device_adc);
+#endif
}
void DEBUG_LED(int n)