Bladeren bron

MX25: put define for OTG base address in right include

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>
Eric Bénard 15 jaren geleden
bovenliggende
commit
5a36c39923
2 gewijzigde bestanden met toevoegingen van 1 en 2 verwijderingen
  1. 0 2
      arch/arm/mach-mx25/devices.c
  2. 1 0
      arch/arm/plat-mxc/include/mach/mx25.h

+ 0 - 2
arch/arm/mach-mx25/devices.c

@@ -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[] = {

+ 1 - 0
arch/arm/plat-mxc/include/mach/mx25.h

@@ -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