Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17dcd13a authored by Arnaud Patard's avatar Arnaud Patard Committed by Ben Dooks
Browse files

ARM: h1940: fix touchscreen support



The touchscreen is using the adc device so it needs to be in the device
list

Signed-off-by: default avatarArnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 7ebd4675
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -271,7 +271,6 @@ static struct platform_device h1940_lcd_powerdev = {
};
};


static struct platform_device *h1940_devices[] __initdata = {
static struct platform_device *h1940_devices[] __initdata = {
	&s3c_device_ts,
	&s3c_device_ohci,
	&s3c_device_ohci,
	&s3c_device_lcd,
	&s3c_device_lcd,
	&s3c_device_wdt,
	&s3c_device_wdt,
@@ -285,6 +284,8 @@ static struct platform_device *h1940_devices[] __initdata = {
	&s3c_device_timer[0],
	&s3c_device_timer[0],
	&h1940_backlight,
	&h1940_backlight,
	&h1940_lcd_powerdev,
	&h1940_lcd_powerdev,
	&s3c_device_adc,
	&s3c_device_ts,
};
};


static void __init h1940_map_io(void)
static void __init h1940_map_io(void)