of/irq: of_irq.c needs to include linux/irq.h
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 21 Oct 2010 17:34:55 +0000 (11:34 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 21 Oct 2010 17:34:55 +0000 (11:34 -0600)
It works on current architectures simply because asm/prom.h includes
it, but it broke when x86 turned on CONFIG_OF.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
include/linux/of_irq.h

index 090cbaa..109e013 100644 (file)
@@ -5,6 +5,7 @@
 struct of_irq;
 #include <linux/types.h>
 #include <linux/errno.h>
+#include <linux/irq.h>
 #include <linux/ioport.h>
 #include <linux/of.h>