sparc: Kill now spurious includes of sbus.h
authorDavid S. Miller <davem@davemloft.net>
Thu, 28 Aug 2008 02:54:01 +0000 (19:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Aug 2008 09:15:23 +0000 (02:15 -0700)
In order to make this week I also had to add an include
of linux/dma-mapping.h to asm/pci_32.h because drivers/pci/pci.c
really depends upon getting this header somehow.

Signed-off-by: David S. Miller <davem@davemloft.net>
14 files changed:
arch/sparc/include/asm/dma.h
arch/sparc/include/asm/pci_32.h
arch/sparc/kernel/ioport.c
arch/sparc/kernel/pcic.c
arch/sparc/kernel/sparc_ksyms.c
arch/sparc/kernel/sun4d_smp.c
arch/sparc/mm/io-unit.c
arch/sparc/mm/iommu.c
arch/sparc/mm/nosrmmu.c
arch/sparc/mm/srmmu.c
arch/sparc/prom/ranges.c
arch/sparc64/kernel/irq.c
arch/sparc64/kernel/sbus.c
arch/sparc64/kernel/sparc64_ksyms.c

index d1ae56be9fa67506a9e0f9d85e456ac06056c6e5..b554927bbaf668102be8950d25fac53bca79f954 100644 (file)
@@ -91,8 +91,6 @@ extern int isa_dma_bridge_buggy;
 
 #ifdef CONFIG_SPARC32
 
-#include <asm/sbus.h>
-
 /* Routines for data transfer buffers. */
 BTFIXUPDEF_CALL(char *, mmu_lockarea, char *, unsigned long)
 BTFIXUPDEF_CALL(void,   mmu_unlockarea, char *, unsigned long)
index 0ee949d220c06d3c3a7beec15b19ca3abf33e367..b41c4c1981591b66df0a41b1c3d1e81b7099d400 100644 (file)
@@ -3,6 +3,8 @@
 
 #ifdef __KERNEL__
 
+#include <linux/dma-mapping.h>
+
 /* Can be used to override the logic in pci_scan_bus for skipping
  * already-configured bus numbers - to be used for buggy BIOSes
  * or architectures with incomplete PCI setup by the loader.
index bca2d6fd5c4cc9b090ac9699763c56c73e046131..4f025b36934b2e53fb833c5e94f9c071fb4efbda 100644 (file)
@@ -42,7 +42,6 @@
 #include <asm/vaddrs.h>
 #include <asm/oplib.h>
 #include <asm/prom.h>
-#include <asm/sbus.h>
 #include <asm/page.h>
 #include <asm/pgalloc.h>
 #include <asm/dma.h>
index a6a6f9823370582d3b6ef0ff18206c6d072f719a..9a0aa4ec5793f1ba624b256f7cb8aea6a11fabb2 100644 (file)
@@ -18,7 +18,6 @@
 #include <linux/jiffies.h>
 
 #include <asm/ebus.h>
-#include <asm/sbus.h> /* for sanity check... */
 #include <asm/swift.h> /* for cache flushing. */
 #include <asm/io.h>
 
index a9478dbef2e43172eed7efb6d4e689f7914c21f0..50ec48ddef6519ddd882849fa97f3c038b1ac057 100644 (file)
@@ -43,7 +43,6 @@
 #include <asm/uaccess.h>
 #include <asm/checksum.h>
 #ifdef CONFIG_SBUS
-#include <asm/sbus.h>
 #include <asm/dma.h>
 #endif
 #ifdef CONFIG_PCI
index dfde77ff084870810b3a8e94e40f089b796418be..bf7147a9308e1ea68565179418c3b21ef5497adc 100644 (file)
@@ -30,7 +30,6 @@
 #include <asm/pgalloc.h>
 #include <asm/pgtable.h>
 #include <asm/oplib.h>
-#include <asm/sbus.h>
 #include <asm/sbi.h>
 #include <asm/tlbflush.h>
 #include <asm/cacheflush.h>
index 53900230c2d2591e9771f6ff508c2fc83e9c31a8..daadf5f88050bb8a11ab728d8a2460233e2914ce 100644 (file)
 #include <linux/highmem.h>     /* pte_offset_map => kmap_atomic */
 #include <linux/bitops.h>
 #include <linux/scatterlist.h>
+#include <linux/of.h>
+#include <linux/of_device.h>
 
 #include <asm/pgalloc.h>
 #include <asm/pgtable.h>
-#include <asm/sbus.h>
 #include <asm/io.h>
 #include <asm/io-unit.h>
 #include <asm/mxcc.h>
index 7c55450b55b9bb48d67373ca33a553fa4fd8a25a..e7a499e3aa3caee28e1622024c885369d876a149 100644 (file)
 #include <linux/slab.h>
 #include <linux/highmem.h>     /* pte_offset_map => kmap_atomic */
 #include <linux/scatterlist.h>
+#include <linux/of.h>
+#include <linux/of_device.h>
 
 #include <asm/pgalloc.h>
 #include <asm/pgtable.h>
-#include <asm/sbus.h>
 #include <asm/io.h>
 #include <asm/mxcc.h>
 #include <asm/mbus.h>
index 3701f70fc30a19e09b3b5edad760b56a3faa6ec7..4f061bb6ce78fbc164a4f9182ebfcde8897975cf 100644 (file)
@@ -9,7 +9,6 @@
 #include <linux/mm.h>
 #include <linux/init.h>
 #include <asm/mbus.h>
-#include <asm/sbus.h>
 
 static char shouldnothappen[] __initdata = "SUN4 kernel can only run on SUN4\n";
 
index ee30462598fc72b763da88077b72438be730cbf4..6a5d7cabc04450eb10dcb4f75c792aa36838d584 100644 (file)
@@ -31,7 +31,6 @@
 #include <asm/mbus.h>
 #include <asm/cache.h>
 #include <asm/oplib.h>
-#include <asm/sbus.h>
 #include <asm/asi.h>
 #include <asm/msi.h>
 #include <asm/mmu_context.h>
index f9b7def35f6eacbca62590c32a086c64e117f37d..64579a376419b7b3b1231e0e1080e3e8c7078821 100644 (file)
@@ -9,7 +9,6 @@
 #include <asm/openprom.h>
 #include <asm/oplib.h>
 #include <asm/types.h>
-#include <asm/sbus.h>
 #include <asm/system.h>
 
 struct linux_prom_ranges promlib_obio_ranges[PROMREG_MAX];
index 9b6689d9d57097239641d51653dc921e2607b997..2817a272b4cf3da0537ff126d35bcca331313a47 100644 (file)
@@ -28,7 +28,6 @@
 #include <asm/system.h>
 #include <asm/irq.h>
 #include <asm/io.h>
-#include <asm/sbus.h>
 #include <asm/iommu.h>
 #include <asm/upa.h>
 #include <asm/oplib.h>
index 60605eaf49bb0b846e29849731c8a73572b2607f..9d7dfb8cc27a5df8b92706a4dc9362b336143df2 100644 (file)
 #include <linux/slab.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/of.h>
+#include <linux/of_device.h>
 
 #include <asm/page.h>
-#include <asm/sbus.h>
 #include <asm/io.h>
 #include <asm/upa.h>
 #include <asm/cache.h>
 #include <asm/dma.h>
 #include <asm/irq.h>
 #include <asm/prom.h>
+#include <asm/oplib.h>
 #include <asm/starfire.h>
 
 #include "iommu_common.h"
index 08c58a8457bccb8eb043ee3527c65fafd3df8dae..142c16983d146e06cd0849d3b7505a762dcce4f8 100644 (file)
@@ -44,7 +44,6 @@
 #include <asm/pgalloc.h>
 #include <asm/cacheflush.h>
 #ifdef CONFIG_SBUS
-#include <asm/sbus.h>
 #include <asm/dma.h>
 #endif
 #ifdef CONFIG_PCI