From ebcce7b13be837616a3f9d996f637cf3241e3948 Mon Sep 17 00:00:00 2001 From: Ian Molton Date: Tue, 19 Aug 2008 13:34:56 +0100 Subject: [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 --- arch/arm/mach-pxa/e330.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'arch/arm/mach-pxa/e330.c') diff --git a/arch/arm/mach-pxa/e330.c b/arch/arm/mach-pxa/e330.c index 2f4555e..d488ede 100644 --- a/arch/arm/mach-pxa/e330.c +++ b/arch/arm/mach-pxa/e330.c @@ -19,10 +19,16 @@ #include #include +#include #include "generic.h" #include "eseries.h" +static void __init e330_init(void) +{ + pxa_set_udc_info(&e7xx_udc_mach_info); +} + MACHINE_START(E330, "Toshiba e330") /* Maintainer: Ian Molton (spyro@f2s.com) */ .phys_io = 0x40000000, @@ -31,6 +37,7 @@ MACHINE_START(E330, "Toshiba e330") .map_io = pxa_map_io, .init_irq = pxa25x_init_irq, .fixup = eseries_fixup, + .init_machine = e330_init, .timer = &pxa_timer, MACHINE_END -- cgit v1.1