diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-11-28 17:13:44 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-11-28 17:39:04 +0100 |
commit | fa44c9e21f93f90800a56bacc74baa884e155b16 (patch) | |
tree | 7110e22260c2a1a66bb1c0c57d52ddd98f7b4218 /drivers/serial/serial_lh7a40x.c | |
parent | [ARM] l7200: avoid polluting the kernel's namespace (diff) | |
download | linux-fa44c9e21f93f90800a56bacc74baa884e155b16.tar.xz linux-fa44c9e21f93f90800a56bacc74baa884e155b16.zip |
[ARM] lh7a40x: avoid polluting the kernel's namespace
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>
Diffstat (limited to 'drivers/serial/serial_lh7a40x.c')
-rw-r--r-- | drivers/serial/serial_lh7a40x.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/serial/serial_lh7a40x.c b/drivers/serial/serial_lh7a40x.c index 61dc8b3daa26..a7bf024a8286 100644 --- a/drivers/serial/serial_lh7a40x.c +++ b/drivers/serial/serial_lh7a40x.c @@ -41,9 +41,10 @@ #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 |