Pārlūkot izejas kodu

[ARM] 3/4: Remove asm/hardware.h from Versatile and Integrator io.h

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King 19 gadi atpakaļ
vecāks
revīzija
c6b8fdad14

+ 1 - 0
drivers/mmc/mmci.c

@@ -24,6 +24,7 @@
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/irq.h>
 #include <asm/irq.h>
 #include <asm/scatterlist.h>
 #include <asm/scatterlist.h>
+#include <asm/sizes.h>
 #include <asm/hardware/amba.h>
 #include <asm/hardware/amba.h>
 #include <asm/hardware/clock.h>
 #include <asm/hardware/clock.h>
 #include <asm/mach/mmc.h>
 #include <asm/mach/mmc.h>

+ 1 - 0
drivers/serial/amba-pl010.c

@@ -50,6 +50,7 @@
 
 
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/irq.h>
 #include <asm/irq.h>
+#include <asm/hardware.h>
 #include <asm/hardware/amba.h>
 #include <asm/hardware/amba.h>
 #include <asm/hardware/amba_serial.h>
 #include <asm/hardware/amba_serial.h>
 
 

+ 1 - 0
drivers/serial/amba-pl011.c

@@ -50,6 +50,7 @@
 
 
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/irq.h>
 #include <asm/irq.h>
+#include <asm/sizes.h>
 #include <asm/hardware/amba.h>
 #include <asm/hardware/amba.h>
 #include <asm/hardware/clock.h>
 #include <asm/hardware/clock.h>
 #include <asm/hardware/amba_serial.h>
 #include <asm/hardware/amba_serial.h>

+ 1 - 0
drivers/video/amba-clcd.c

@@ -22,6 +22,7 @@
 #include <linux/ioport.h>
 #include <linux/ioport.h>
 #include <linux/list.h>
 #include <linux/list.h>
 
 
+#include <asm/sizes.h>
 #include <asm/hardware/amba.h>
 #include <asm/hardware/amba.h>
 #include <asm/hardware/clock.h>
 #include <asm/hardware/clock.h>
 
 

+ 0 - 9
include/asm-arm/arch-integrator/hardware.h

@@ -33,15 +33,6 @@
 #define IO_SIZE			0x0B000000                 // How much?
 #define IO_SIZE			0x0B000000                 // How much?
 #define IO_START		INTEGRATOR_HDR_BASE        // PA of IO
 #define IO_START		INTEGRATOR_HDR_BASE        // PA of IO
 
 
-/*
- * Similar to above, but for PCI addresses (memory, IO, Config and the
- * V3 chip itself).  WARNING: this has to mirror definitions in platform.h
- */
-#define PCI_MEMORY_VADDR        0xe8000000
-#define PCI_CONFIG_VADDR        0xec000000
-#define PCI_V3_VADDR            0xed000000
-#define PCI_IO_VADDR            0xee000000
-
 #define PCIO_BASE		PCI_IO_VADDR
 #define PCIO_BASE		PCI_IO_VADDR
 #define PCIMEM_BASE		PCI_MEMORY_VADDR
 #define PCIMEM_BASE		PCI_MEMORY_VADDR
 
 

+ 8 - 2
include/asm-arm/arch-integrator/io.h

@@ -20,10 +20,16 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
 
-#include <asm/hardware.h>
-
 #define IO_SPACE_LIMIT 0xffff
 #define IO_SPACE_LIMIT 0xffff
 
 
+/*
+ * WARNING: this has to mirror definitions in platform.h
+ */
+#define PCI_MEMORY_VADDR        0xe8000000
+#define PCI_CONFIG_VADDR        0xec000000
+#define PCI_V3_VADDR            0xed000000
+#define PCI_IO_VADDR            0xee000000
+
 #define __io(a)			((void __iomem *)(PCI_IO_VADDR + (a)))
 #define __io(a)			((void __iomem *)(PCI_IO_VADDR + (a)))
 #define __mem_pci(a)		(a)
 #define __mem_pci(a)		(a)
 #define __mem_isa(a)		((a) + PCI_MEMORY_VADDR)
 #define __mem_isa(a)		((a) + PCI_MEMORY_VADDR)

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

@@ -20,8 +20,6 @@
 #ifndef __ASM_ARM_ARCH_IO_H
 #ifndef __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 #define __ASM_ARM_ARCH_IO_H
 
 
-#include <asm/hardware.h>
-
 #define IO_SPACE_LIMIT 0xffffffff
 #define IO_SPACE_LIMIT 0xffffffff
 
 
 static inline void __iomem *__io(unsigned long addr)
 static inline void __iomem *__io(unsigned long addr)

+ 1 - 0
sound/arm/aaci.c

@@ -20,6 +20,7 @@
 
 
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/irq.h>
 #include <asm/irq.h>
+#include <asm/sizes.h>
 #include <asm/hardware/amba.h>
 #include <asm/hardware/amba.h>
 
 
 #include <sound/driver.h>
 #include <sound/driver.h>