ARM: h1940: fix touchscreen support
authorArnaud Patard <arnaud.patard@rtp-net.org>
Thu, 22 Apr 2010 08:47:43 +0000 (10:47 +0200)
committerBen Dooks <ben-linux@fluff.org>
Wed, 5 May 2010 15:06:44 +0000 (00:06 +0900)
The touchscreen is using the adc device so it needs to be in the device
list

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c2410/mach-h1940.c

index fbedd07..bd4ced5 100644 (file)
@@ -271,7 +271,6 @@ static struct platform_device h1940_lcd_powerdev = {
 };
 
 static struct platform_device *h1940_devices[] __initdata = {
-       &s3c_device_ts,
        &s3c_device_ohci,
        &s3c_device_lcd,
        &s3c_device_wdt,
@@ -285,6 +284,8 @@ static struct platform_device *h1940_devices[] __initdata = {
        &s3c_device_timer[0],
        &h1940_backlight,
        &h1940_lcd_powerdev,
+       &s3c_device_adc,
+       &s3c_device_ts,
 };
 
 static void __init h1940_map_io(void)