summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-09-10 01:13:46 +0200
committerRob Herring <rob.herring@calxeda.com>2013-10-10 03:03:59 +0200
commit9cae09c5a9940b9e02474be0639f0b49bd592a33 (patch)
treedce712827000a848ee5bf956bccfad65119dd503
parentdrivers: remove unnecessary prom.h includes (diff)
downloadlinux-9cae09c5a9940b9e02474be0639f0b49bd592a33.tar.xz
linux-9cae09c5a9940b9e02474be0639f0b49bd592a33.zip
of: remove unnecessary prom.h includes
Remove unnecessary prom.h includes in preparation to make prom.h optional. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Grant Likely <grant.likely@linaro.org>
-rw-r--r--drivers/of/of_pci_irq.c1
-rw-r--r--drivers/of/pdt.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/of/of_pci_irq.c b/drivers/of/of_pci_irq.c
index 677053813211..d86076431af6 100644
--- a/drivers/of/of_pci_irq.c
+++ b/drivers/of/of_pci_irq.c
@@ -2,7 +2,6 @@
#include <linux/of_pci.h>
#include <linux/of_irq.h>
#include <linux/export.h>
-#include <asm/prom.h>
/**
* of_irq_map_pci - Resolve the interrupt for a PCI device
diff --git a/drivers/of/pdt.c b/drivers/of/pdt.c
index 4ec19cbee57f..7b666736c168 100644
--- a/drivers/of/pdt.c
+++ b/drivers/of/pdt.c
@@ -22,7 +22,6 @@
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/of_pdt.h>
-#include <asm/prom.h>
static struct of_pdt_ops *of_pdt_prom_ops __initdata;