aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/pxa3xx.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-04-20 17:32:16 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-05-19 16:25:58 +0100
commit284d115ec9b70d7c38752d10ad393a198db07a4b (patch)
treef694494fdbe31bb6df3ff815075a277c5bd6dfc5 /arch/arm/mach-pxa/pxa3xx.c
parent02a8e76979f9b439642e67955edb865c112926f6 (diff)
downloadkernel_samsung_smdk4412-284d115ec9b70d7c38752d10ad393a198db07a4b.zip
kernel_samsung_smdk4412-284d115ec9b70d7c38752d10ad393a198db07a4b.tar.gz
kernel_samsung_smdk4412-284d115ec9b70d7c38752d10ad393a198db07a4b.tar.bz2
[ARM] pxa: separate PXA25x and PXA27x UDC register definitions
The PXA25x and PXA27x USB device controller register definitions are different. Currently, they live side by side in pxa-regs.h, but only one set is available depending on the setting of PXA25x or PXA27x. This means that if we build to support both PXA25x and PXA27x, the PXA27x definitions are unavailable, even to PXA27x specific code. Remove these definitions from pxa-regs.h, and place them in separate files. Include these files where appropriate. Note: according to the dependencies in drivers/usb/gadget/Kconfig, we do not support the UDC on PXA27x nor PXA3xx CPUs, so remove the platform devices from pxa27x.c and pxa3xx.c. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/pxa3xx.c')
-rw-r--r--arch/arm/mach-pxa/pxa3xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/pxa3xx.c b/arch/arm/mach-pxa/pxa3xx.c
index 644550b..7fbe786 100644
--- a/arch/arm/mach-pxa/pxa3xx.c
+++ b/arch/arm/mach-pxa/pxa3xx.c
@@ -520,7 +520,7 @@ void __init pxa3xx_init_irq(void)
*/
static struct platform_device *devices[] __initdata = {
- &pxa_device_udc,
+/* &pxa_device_udc, The UDC driver is PXA25x only */
&pxa_device_ffuart,
&pxa_device_btuart,
&pxa_device_stuart,