]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
ARM: msm: clean-up mach/io.h
authorRob Herring <rob.herring@calxeda.com>
Sat, 11 Feb 2012 02:30:41 +0000 (20:30 -0600)
committerRob Herring <rob.herring@calxeda.com>
Wed, 7 Mar 2012 03:34:38 +0000 (21:34 -0600)
Move msm specifics in mach/io.h to respective msm_iomap-*.h headers.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: David Brown <davidb@codeaurora.org>
Cc: Daniel Walker <dwalker@fifo99.com>
Cc: Bryan Huntsman <bryanh@codeaurora.org>
arch/arm/mach-msm/include/mach/io.h
arch/arm/mach-msm/include/mach/msm_iomap-7x30.h
arch/arm/mach-msm/include/mach/msm_iomap-8960.h
arch/arm/mach-msm/include/mach/msm_iomap-8x50.h
arch/arm/mach-msm/include/mach/msm_iomap-8x60.h

index c6ff9bb8db31ebd1ae592d10ddb9a31016e0cb1f..1071f984dd064bfe0937ce50a6f2783665d966c8 100644 (file)
 #define __io(a)                __typesafe_io(a)
 #define __mem_pci(a)    (a)
 
-void msm_map_qsd8x50_io(void);
-void msm_map_msm7x30_io(void);
-void msm_map_msm8x60_io(void);
-void msm_map_msm8960_io(void);
-
-extern unsigned int msm_shared_ram_phys;
-
 #endif
index 198202c267c846d6375be0f59bf2aad38eba277a..f944fe65a657c4847bbeadfa1a7973d4503ea1ca 100644 (file)
 #define MSM_HSUSB_PHYS        0xA3600000
 #define MSM_HSUSB_SIZE        SZ_1K
 
+#ifndef __ASSEMBLY__
+extern void msm_map_msm7x30_io(void);
+#endif
+
 #endif
index 800b55767e6b83ee7856692bf4e8fcf122df5863..a1752c0284fca2e25ebdd74d100c6442c8799b1c 100644 (file)
@@ -50,4 +50,8 @@
 #define MSM_DEBUG_UART_PHYS    0x16440000
 #endif
 
+#ifndef __ASSEMBLY__
+extern void msm_map_msm8960_io(void);
+#endif
+
 #endif
index 0faa894729b7737d2c310f890aa27bd339506ec8..da77cc1d545d0158949eda6c3042d57ff9e2566a 100644 (file)
 #define MSM_SDC4_PHYS          0xA0600000
 #define MSM_SDC4_SIZE          SZ_4K
 
+#ifndef __ASSEMBLY__
+extern void msm_map_qsd8x50_io(void);
+#endif
+
 #endif
index 54e12caa8d860a99a4d6c4e11505e25a7d269d62..5aed57dc808c081f13c99f5d6ed0883c4ba46b56 100644 (file)
@@ -67,4 +67,8 @@
 #define MSM_DEBUG_UART_PHYS    0x19C40000
 #endif
 
+#ifndef __ASSEMBLY__
+extern void msm_map_msm8x60_io(void);
+#endif
+
 #endif