diff options
Diffstat (limited to 'arch/arm/mach-pxa/littleton.c')
-rw-r--r-- | arch/arm/mach-pxa/littleton.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/littleton.c b/arch/arm/mach-pxa/littleton.c index 31da7f3c06f6..c872b9feb4d4 100644 --- a/arch/arm/mach-pxa/littleton.c +++ b/arch/arm/mach-pxa/littleton.c | |||
@@ -39,8 +39,7 @@ | |||
39 | #include <asm/mach/map.h> | 39 | #include <asm/mach/map.h> |
40 | #include <asm/mach/irq.h> | 40 | #include <asm/mach/irq.h> |
41 | 41 | ||
42 | #include <mach/pxa-regs.h> | 42 | #include <mach/pxa300.h> |
43 | #include <mach/mfp-pxa300.h> | ||
44 | #include <mach/pxafb.h> | 43 | #include <mach/pxafb.h> |
45 | #include <mach/ssp.h> | 44 | #include <mach/ssp.h> |
46 | #include <mach/pxa2xx_spi.h> | 45 | #include <mach/pxa2xx_spi.h> |
@@ -335,6 +334,11 @@ static struct led_info littleton_da9034_leds[] = { | |||
335 | }, | 334 | }, |
336 | }; | 335 | }; |
337 | 336 | ||
337 | static struct da9034_touch_pdata littleton_da9034_touch = { | ||
338 | .x_inverted = 1, | ||
339 | .interval_ms = 20, | ||
340 | }; | ||
341 | |||
338 | static struct da903x_subdev_info littleton_da9034_subdevs[] = { | 342 | static struct da903x_subdev_info littleton_da9034_subdevs[] = { |
339 | { | 343 | { |
340 | .name = "da903x-led", | 344 | .name = "da903x-led", |
@@ -351,6 +355,10 @@ static struct da903x_subdev_info littleton_da9034_subdevs[] = { | |||
351 | }, { | 355 | }, { |
352 | .name = "da903x-backlight", | 356 | .name = "da903x-backlight", |
353 | .id = DA9034_ID_WLED, | 357 | .id = DA9034_ID_WLED, |
358 | }, { | ||
359 | .name = "da9034-touch", | ||
360 | .id = DA9034_ID_TOUCH, | ||
361 | .platform_data = &littleton_da9034_touch, | ||
354 | }, | 362 | }, |
355 | }; | 363 | }; |
356 | 364 | ||