]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] lh7a40x: 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 16:39:04 +0000 (16:39 +0000)
Avoid unnecessarily pollution of the kernel's namespace by avoiding
mach/hardware.h in mach/io.h.  Include this header file where necessary.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-lh7a40x/include/mach/io.h
drivers/serial/serial_lh7a40x.c

index 031d26f9163cb5e6a7b4994d93e220b90cf8b86f..e41422db97a66733ba660f4321e09e62c19206dd 100644 (file)
@@ -11,8 +11,6 @@
 #ifndef __ASM_ARCH_IO_H
 #define __ASM_ARCH_IO_H
 
-#include <mach/hardware.h>
-
 #define IO_SPACE_LIMIT 0xffffffff
 
 /* No ISA or PCI bus on this machine. */
index 61dc8b3daa26ce2c5159febbc05d71f89746ce54..a7bf024a8286085484978ad303213b5e815c6d0d 100644 (file)
 #include <linux/tty_flip.h>
 #include <linux/serial_core.h>
 #include <linux/serial.h>
+#include <linux/io.h>
 
-#include <asm/io.h>
 #include <asm/irq.h>
+#include <mach/hardware.h>
 
 #define DEV_MAJOR      204
 #define DEV_MINOR      16