diff options
author | Ian Molton <spyro@f2s.com> | 2008-08-19 08:34:56 -0400 |
---|---|---|
committer | Ian Molton <spyro@f2s.com> | 2008-08-19 08:44:07 -0400 |
commit | ebcce7b13be837616a3f9d996f637cf3241e3948 (patch) | |
tree | bd4de28ee16e2af9dd94ef5bc3794f0877c31f7a /arch/arm/mach-pxa/e330.c | |
parent | 0ec3cf69304d2e35ad29da3aa9ab43c3dd97677c (diff) |
[ARM] eseries: move UDC defs to machine files
This patchset moves the UDC definitons for e7xx compatible eseries machines
to a common location and moves the 'oddball' e800 definition to its machine
file.
Signed-off-by: Ian Molton <spyro@f2s.com>
Diffstat (limited to 'arch/arm/mach-pxa/e330.c')
-rw-r--r-- | arch/arm/mach-pxa/e330.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/e330.c b/arch/arm/mach-pxa/e330.c index 2f4555e2fb91..d488eded2058 100644 --- a/arch/arm/mach-pxa/e330.c +++ b/arch/arm/mach-pxa/e330.c | |||
@@ -19,10 +19,16 @@ | |||
19 | 19 | ||
20 | #include <mach/mfp-pxa25x.h> | 20 | #include <mach/mfp-pxa25x.h> |
21 | #include <mach/hardware.h> | 21 | #include <mach/hardware.h> |
22 | #include <mach/udc.h> | ||
22 | 23 | ||
23 | #include "generic.h" | 24 | #include "generic.h" |
24 | #include "eseries.h" | 25 | #include "eseries.h" |
25 | 26 | ||
27 | static void __init e330_init(void) | ||
28 | { | ||
29 | pxa_set_udc_info(&e7xx_udc_mach_info); | ||
30 | } | ||
31 | |||
26 | MACHINE_START(E330, "Toshiba e330") | 32 | MACHINE_START(E330, "Toshiba e330") |
27 | /* Maintainer: Ian Molton (spyro@f2s.com) */ | 33 | /* Maintainer: Ian Molton (spyro@f2s.com) */ |
28 | .phys_io = 0x40000000, | 34 | .phys_io = 0x40000000, |
@@ -31,6 +37,7 @@ MACHINE_START(E330, "Toshiba e330") | |||
31 | .map_io = pxa_map_io, | 37 | .map_io = pxa_map_io, |
32 | .init_irq = pxa25x_init_irq, | 38 | .init_irq = pxa25x_init_irq, |
33 | .fixup = eseries_fixup, | 39 | .fixup = eseries_fixup, |
40 | .init_machine = e330_init, | ||
34 | .timer = &pxa_timer, | 41 | .timer = &pxa_timer, |
35 | MACHINE_END | 42 | MACHINE_END |
36 | 43 | ||