]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
MX25: put define for OTG base address in right include
authorEric Bénard <eric@eukrea.com>
Tue, 8 Jun 2010 09:02:55 +0000 (11:02 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 26 Jul 2010 12:18:06 +0000 (14:18 +0200)
the standard place for this define is include/mach/mx25.h

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx25/devices.c
arch/arm/plat-mxc/include/mach/mx25.h

index fd331d04ea0d46ee214bf69242f6536199394e4f..d9766d4d50464a3387f6db539fb7647ba323a84b 100644 (file)
@@ -117,8 +117,6 @@ struct platform_device mxc_uart_device4 = {
        .num_resources = ARRAY_SIZE(uart4),
 };
 
-#define MX25_OTG_BASE_ADDR 0x53FF4000
-
 static u64 otg_dmamask = DMA_BIT_MASK(32);
 
 static struct resource mxc_otg_resources[] = {
index 35fb9f5e5d1cd4bd03da3800d894a33e970029ee..f064ec8833bb0b10c3a9e06cfa6ff10820e93eeb 100644 (file)
@@ -35,6 +35,7 @@
 #define MX25_DRYICE_BASE_ADDR          0x53ffc000
 #define MX25_LCDC_BASE_ADDR            0x53fbc000
 #define MX25_KPP_BASE_ADDR             0x43fa8000
+#define MX25_OTG_BASE_ADDR             0x53ff4000
 
 #define MX25_INT_DRYICE        25
 #define MX25_INT_FEC   57