]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] iop3xx: avoid polluting the kernel's namespace
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Fri, 28 Nov 2008 16:13:44 +0000 (16:13 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 28 Nov 2008 23:09:44 +0000 (23:09 +0000)
Avoid unnecessarily pollution of the kernel's namespace by avoiding
mach/hardware.h in mach/io.h, mach/memory.h and mach/timex.h.  Include
this header file where necessary.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-iop32x/include/mach/io.h
arch/arm/mach-iop32x/include/mach/memory.h
arch/arm/mach-iop32x/include/mach/system.h
arch/arm/mach-iop32x/include/mach/timex.h
arch/arm/mach-iop33x/include/mach/io.h
arch/arm/mach-iop33x/include/mach/memory.h
arch/arm/mach-iop33x/include/mach/timex.h

index ce54705ba3d41489675b4be47efcc2363623eb76..339e5854728b5f1f3d1434d8570567b3bc6b2fc8 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __IO_H
 #define __IO_H
 
-#include <mach/hardware.h>
+#include <asm/hardware/iop3xx.h>
 
 extern void __iomem *__iop3xx_ioremap(unsigned long cookie, size_t size,
        unsigned int mtype);
index 61c7bdb26a81661bee53e1923bafd213ef02d025..c30f6450ad50de9681f64b1e41fb304152290e01 100644 (file)
@@ -5,8 +5,6 @@
 #ifndef __MEMORY_H
 #define __MEMORY_H
 
-#include <mach/hardware.h>
-
 /*
  * Physical DRAM offset.
  */
index 20f923e54f4601cc470dfeccd3275291db718ffa..32d9e5b0a28db1a36b6888c0fa019f453c42881e 100644 (file)
@@ -7,8 +7,9 @@
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  */
-
 #include <asm/mach-types.h>
+#include <asm/hardware/iop3xx.h>
+#include <mach/n2100.h>
 
 static inline void arch_idle(void)
 {
index a541afced3cb39a36df45c97d66e0a49942d9b8f..7262ab81419da25eb9bf3041c0e91c30bd6aeb37 100644 (file)
@@ -3,7 +3,4 @@
  *
  * IOP32x architecture timex specifications
  */
-
-#include <mach/hardware.h>
-
 #define CLOCK_TICK_RATE                (100 * HZ)
index 158874631217b0d7687c566de199ef9ddcce89ca..e99a7ed6d0502e0390ccb9f0e4de0c2f7890ba2c 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __IO_H
 #define __IO_H
 
-#include <mach/hardware.h>
+#include <asm/hardware/iop3xx.h>
 
 extern void __iomem *__iop3xx_ioremap(unsigned long cookie, size_t size,
        unsigned int mtype);
index c46c6ba30186b031714e326879c18c8c0f2fd959..a30a96aa6d2db541c7c2c44fa55d0cd164c26023 100644 (file)
@@ -5,8 +5,6 @@
 #ifndef __MEMORY_H
 #define __MEMORY_H
 
-#include <mach/hardware.h>
-
 /*
  * Physical DRAM offset.
  */
index c75760844d49eae5b509d6d9170918d79e3571fe..54c589091d6eb7b6dea1881059602de7258e43bd 100644 (file)
@@ -3,7 +3,4 @@
  *
  * IOP3xx architecture timex specifications
  */
-
-#include <mach/hardware.h>
-
 #define CLOCK_TICK_RATE                (100 * HZ)