diff options
author | Kristoffer Ericson <kristoffer.ericson@gmail.com> | 2009-02-04 10:47:38 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-02-10 06:24:22 -0500 |
commit | b4e411294a193e18c41912bc3df03f5b9cd7c823 (patch) | |
tree | dd116ce512a36f027270cac4c2824b0d7d6ba63c /arch/arm/mach-sa1100/jornada720.c | |
parent | 17198f2d681d34b3376f3a55b2837e56062c2439 (diff) |
[ARM] 5375/1: PATCH - update jornada720.c to reflect driver additions
This patch updates the list of devices activated at init
to also include the keyboard and touchscreen structs.
We also remove a non-needed #ifdef.
Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100/jornada720.c')
-rw-r--r-- | arch/arm/mach-sa1100/jornada720.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm/mach-sa1100/jornada720.c b/arch/arm/mach-sa1100/jornada720.c index 81848aa96424..fd776bb666cd 100644 --- a/arch/arm/mach-sa1100/jornada720.c +++ b/arch/arm/mach-sa1100/jornada720.c | |||
@@ -226,12 +226,22 @@ static struct platform_device jornada_ssp_device = { | |||
226 | .id = -1, | 226 | .id = -1, |
227 | }; | 227 | }; |
228 | 228 | ||
229 | static struct platform_device jornada_kbd_device = { | ||
230 | .name = "jornada720_kbd", | ||
231 | .id = -1, | ||
232 | }; | ||
233 | |||
234 | static struct platform_device jornada_ts_device = { | ||
235 | .name = "jornada_ts", | ||
236 | .id = -1, | ||
237 | }; | ||
238 | |||
229 | static struct platform_device *devices[] __initdata = { | 239 | static struct platform_device *devices[] __initdata = { |
230 | &sa1111_device, | 240 | &sa1111_device, |
231 | #ifdef CONFIG_SA1100_JORNADA720_SSP | ||
232 | &jornada_ssp_device, | 241 | &jornada_ssp_device, |
233 | #endif | ||
234 | &s1d13xxxfb_device, | 242 | &s1d13xxxfb_device, |
243 | &jornada_kbd_device, | ||
244 | &jornada_ts_device, | ||
235 | }; | 245 | }; |
236 | 246 | ||
237 | static int __init jornada720_init(void) | 247 | static int __init jornada720_init(void) |