ARM: iop13xx: move io.h externs to pci.h
authorRob Herring <rob.herring@calxeda.com>
Wed, 29 Feb 2012 16:58:05 +0000 (10:58 -0600)
committerRob Herring <rob.herring@calxeda.com>
Wed, 7 Mar 2012 03:34:37 +0000 (21:34 -0600)
These variables are just needed in pci.c and io.c, so move them out of
io.h in preparation to remove io.h.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Russell King <linux@arm.linux.org.uk>
arch/arm/mach-iop13xx/include/mach/io.h
arch/arm/mach-iop13xx/io.c
arch/arm/mach-iop13xx/pci.h [new file with mode: 0644]

index 2a69fc0c7223693abfd45f5c894b357e84c2a460..058dbfdf7066d33ee672f167255380b2c3707a5e 100644 (file)
@@ -26,9 +26,5 @@
 #define __mem_isa(a) (a)
 
 extern void __iomem * __iop13xx_io(unsigned long io_addr);
-extern u32 iop13xx_atue_mem_base;
-extern u32 iop13xx_atux_mem_base;
-extern size_t iop13xx_atue_mem_size;
-extern size_t iop13xx_atux_mem_size;
 
 #endif
index 6dd5b49241072605e8aadfa269451efe564769ed..3c364198db9c91a9b611df556c5b08db35a74038 100644 (file)
@@ -21,6 +21,8 @@
 #include <linux/io.h>
 #include <mach/hardware.h>
 
+#include "pci.h"
+
 void * __iomem __iop13xx_io(unsigned long io_addr)
 {
        void __iomem * io_virt;
diff --git a/arch/arm/mach-iop13xx/pci.h b/arch/arm/mach-iop13xx/pci.h
new file mode 100644 (file)
index 0000000..c70cf5b
--- /dev/null
@@ -0,0 +1,6 @@
+#include <linux/types.h>
+
+extern u32 iop13xx_atue_mem_base;
+extern u32 iop13xx_atux_mem_base;
+extern size_t iop13xx_atue_mem_size;
+extern size_t iop13xx_atux_mem_size;