2013-09-26 18:57:45

by Rob Herring

[permalink] [raw]
Subject: [PATCH 02/21] of: remove unnecessary prom.h includes

From: Rob Herring <[email protected]>

Remove unnecessary prom.h includes in preparation to make prom.h optional.

Signed-off-by: Rob Herring <[email protected]>
---
drivers/of/of_pci_irq.c | 1 -
drivers/of/pdt.c | 1 -
2 files changed, 2 deletions(-)

diff --git a/drivers/of/of_pci_irq.c b/drivers/of/of_pci_irq.c
index 6770538..d860764 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 4ec19cb..7b66673 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;

--
1.8.1.2