[PATCH 2/3] of_serial: explicitly include of_irq.h

Rob Herring robherring2 at gmail.com
Thu Nov 18 10:50:23 EST 2010


From: Rob Herring <rob.herring at calxeda.com>

On PPC, of_irq.h gets implicitly included, but on other platforms
it does not.

Signed-off-by: Rob Herring <rob.herring at calxeda.com>
---
 drivers/serial/of_serial.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/serial/of_serial.c b/drivers/serial/of_serial.c
index 17849dc..5c7abe4 100644
--- a/drivers/serial/of_serial.c
+++ b/drivers/serial/of_serial.c
@@ -15,6 +15,7 @@
 #include <linux/serial_core.h>
 #include <linux/serial_8250.h>
 #include <linux/of_address.h>
+#include <linux/of_irq.h>
 #include <linux/of_platform.h>
 #include <linux/nwpserial.h>
 
-- 
1.7.1



More information about the devicetree-discuss mailing list