summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/e330.c
diff options
context:
space:
mode:
authorIan Molton <spyro@f2s.com>2008-08-19 13:34:56 +0100
committerIan Molton <spyro@f2s.com>2008-08-19 13:44:07 +0100
commitebcce7b13be837616a3f9d996f637cf3241e3948 (patch)
treebd4de28ee16e2af9dd94ef5bc3794f0877c31f7a /arch/arm/mach-pxa/e330.c
parent0ec3cf69304d2e35ad29da3aa9ab43c3dd97677c (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.c7
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 @@
#include <mach/mfp-pxa25x.h>
#include <mach/hardware.h>
+#include <mach/udc.h>
#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