Browse Source

[ARM] 2/4: Remove asm/hardware.h from asm-arm/arch-ebsa110/io.h

EBSA110 only requires hardware.h to be included for a couple of
files.  Move the include there.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King 19 years ago
parent
commit
766529fa2c
3 changed files with 2 additions and 2 deletions
  1. 1 0
      arch/arm/mach-ebsa110/io.c
  2. 1 0
      drivers/net/arm/am79c961a.c
  3. 0 2
      include/asm-arm/arch-ebsa110/io.h

+ 1 - 0
arch/arm/mach-ebsa110/io.c

@@ -24,6 +24,7 @@
 #include <linux/kernel.h>
 #include <linux/types.h>
 
+#include <asm/hardware.h>
 #include <asm/io.h>
 #include <asm/page.h>
 

+ 1 - 0
drivers/net/arm/am79c961a.c

@@ -29,6 +29,7 @@
 
 #include <asm/system.h>
 #include <asm/irq.h>
+#include <asm/hardware.h>
 #include <asm/io.h>
 
 #define TX_BUFFERS 15

+ 0 - 2
include/asm-arm/arch-ebsa110/io.h

@@ -13,8 +13,6 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
-#include <asm/hardware.h>
-
 #define IO_SPACE_LIMIT 0xffff
 
 u8 __inb8(unsigned int port);