powerpc: add missing explicit OF includes for ppc
authorRob Herring <rob.herring@calxeda.com>
Mon, 11 Nov 2013 05:19:08 +0000 (23:19 -0600)
committerRob Herring <rob.herring@calxeda.com>
Mon, 11 Nov 2013 15:10:50 +0000 (09:10 -0600)
Commit b5b4bb3f6a11f9 (of: only include prom.h on sparc) removed implicit
includes of of_*.h headers by powerpc's prom.h. Some components were
missed in initial clean-up patch, so add the necessary includes to fix
powerpc builds.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: Matt Mackall <mpm@selenic.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: linux-ide@vger.kernel.org
Cc: linux-crypto@vger.kernel.org
15 files changed:
arch/powerpc/platforms/85xx/ppa8548.c
arch/powerpc/platforms/85xx/sgy_cts1000.c
arch/powerpc/platforms/85xx/smp.c
arch/powerpc/sysdev/ehv_pic.c
arch/powerpc/sysdev/ppc4xx_ocm.c
arch/powerpc/sysdev/xilinx_intc.c
drivers/ata/sata_dwc_460ex.c
drivers/char/hw_random/ppc4xx-rng.c
drivers/clk/clk-ppc-corenet.c
drivers/crypto/amcc/crypto4xx_core.c
drivers/dma/ppc4xx/adma.c
drivers/mtd/nand/socrates_nand.c
drivers/pcmcia/m8xx_pcmcia.c
drivers/spi/spi-ppc4xx.c
drivers/watchdog/pika_wdt.c

index 6a7704b92c3bcb415586c8d26b6a5740d7bae43c..3daff7c635693a0e716e246a6be037d360aca662 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/init.h>
 #include <linux/reboot.h>
 #include <linux/seq_file.h>
+#include <linux/of_fdt.h>
 #include <linux/of_platform.h>
 
 #include <asm/machdep.h>
index 7179726ba5c5fdb521afa9a78509eefca7695131..b9197cea1854da9e9934b302c45045868efc8c83 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/of_gpio.h>
+#include <linux/of_irq.h>
 #include <linux/workqueue.h>
 #include <linux/reboot.h>
 #include <linux/interrupt.h>
index 281b7f01df63f6d0b9dc3458deb81ee90246f356..393f975ab397c1dd32919b77f9f0cfe8351fc397 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/init.h>
 #include <linux/delay.h>
 #include <linux/of.h>
+#include <linux/of_address.h>
 #include <linux/kexec.h>
 #include <linux/highmem.h>
 #include <linux/cpu.h>
index 9cd0e60716fef0f37b068d14f2ad38222595221e..b74085cea1af2565f3aea17f127943eb03ba7fec 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/slab.h>
 #include <linux/spinlock.h>
 #include <linux/of.h>
+#include <linux/of_address.h>
 
 #include <asm/io.h>
 #include <asm/irq.h>
index 1b15f93479c3b08bd1e9f2fe1a6df5d4e6857d57..b7c43453236dfac7d001b583e554d8938b0ba426 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/kernel.h>
 #include <linux/dma-mapping.h>
 #include <linux/of.h>
+#include <linux/of_address.h>
 #include <asm/rheap.h>
 #include <asm/ppc4xx_ocm.h>
 #include <linux/slab.h>
index f4fdc94ad2c0a70953af6644c9920de5d204eb86..83f943a8e0db90ed0cf7a700c70f201861db8062 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/irq.h>
 #include <linux/of.h>
 #include <linux/of_address.h>
+#include <linux/of_irq.h>
 #include <asm/io.h>
 #include <asm/processor.h>
 #include <asm/i8259.h>
index 2e391730e8bef0f080d32682538c57db0b941db5..523524b68022d3710f342d96f54926014de551ae 100644 (file)
@@ -31,6 +31,8 @@
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/device.h>
+#include <linux/of_address.h>
+#include <linux/of_irq.h>
 #include <linux/of_platform.h>
 #include <linux/platform_device.h>
 #include <linux/libata.h>
index 732c330805fd318451be8e3654c484bed6416de8..521f76b0934b687ba1d07cf3037325d0dfbe2fc4 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/platform_device.h>
 #include <linux/hw_random.h>
 #include <linux/delay.h>
+#include <linux/of_address.h>
 #include <linux/of_platform.h>
 #include <asm/io.h>
 
index e9587073bd32b3bdc18d48ca189b1a3dd1ab4e01..c4f76ed914b023420aaf012b25369c88c3090a1a 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/io.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
+#include <linux/of_address.h>
 #include <linux/of_platform.h>
 #include <linux/of.h>
 #include <linux/slab.h>
index f88e3d8f6b647a3275a78506008b4c8eaf92b6e8..efaf6302405fde5a25c27072684c5c4589af0d1c 100644 (file)
@@ -27,6 +27,9 @@
 #include <linux/dma-mapping.h>
 #include <linux/platform_device.h>
 #include <linux/init.h>
+#include <linux/module.h>
+#include <linux/of_address.h>
+#include <linux/of_irq.h>
 #include <linux/of_platform.h>
 #include <linux/slab.h>
 #include <asm/dcr.h>
index 370ff8265630cf05cdb64a571e9acb7d9064e08e..e24b5ef486b50819957d02c03f475561bccac4df 100644 (file)
@@ -42,6 +42,8 @@
 #include <linux/uaccess.h>
 #include <linux/proc_fs.h>
 #include <linux/of.h>
+#include <linux/of_address.h>
+#include <linux/of_irq.h>
 #include <linux/of_platform.h>
 #include <asm/dcr.h>
 #include <asm/dcr-regs.h>
index 09dde7d27178c72b4f058da3ed9699c0b028c8e5..49bd9155cb196de0d55cd0658d4e6062cabcd94a 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/nand.h>
 #include <linux/mtd/partitions.h>
+#include <linux/of_address.h>
 #include <linux/of_platform.h>
 #include <linux/io.h>
 
index 18c0d8d1ddf779dbba8f09d7b898b7b687bd0a74..182034d2ef58aff5dae29734bdaf530b3f4ee761 100644 (file)
@@ -48,7 +48,9 @@
 #include <linux/interrupt.h>
 #include <linux/fsl_devices.h>
 #include <linux/bitops.h>
+#include <linux/of_address.h>
 #include <linux/of_device.h>
+#include <linux/of_irq.h>
 #include <linux/of_platform.h>
 
 #include <asm/io.h>
index 0ee53c25ba58b5d772633e4736f5c2bbbaf72ab4..19d615bd5d67903aec9f6efce527de6fbbd34560 100644 (file)
@@ -29,6 +29,8 @@
 #include <linux/slab.h>
 #include <linux/errno.h>
 #include <linux/wait.h>
+#include <linux/of_address.h>
+#include <linux/of_irq.h>
 #include <linux/of_platform.h>
 #include <linux/of_gpio.h>
 #include <linux/interrupt.h>
index 7d3d471f810c5e918926b3353ef3844187f47833..329bc60ad7a23537b42f6871128f62e37e4e8916 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/bitops.h>
 #include <linux/uaccess.h>
 #include <linux/io.h>
+#include <linux/of_address.h>
 #include <linux/of_platform.h>
 
 #define DRV_NAME "PIKA-WDT"