ipmi: explicitly include of_address.h and of_irq.h
authorRob Herring <rob.herring@calxeda.com>
Tue, 16 Nov 2010 20:33:51 +0000 (14:33 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 4 Jan 2011 07:39:37 +0000 (00:39 -0700)
of_address.h and of_irq.h are implicitly included on powerpc. Adding
them fixes builds on non-powerpc platforms.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/char/ipmi/ipmi_si_intf.c

index 8cc4607cc86c7e9c85fe4d1d390f2253477d41d3..f27c04e18aaaeabe30c9bbd1fe99fa71474fb947 100644 (file)
@@ -69,6 +69,8 @@
 #ifdef CONFIG_PPC_OF
 #include <linux/of_device.h>
 #include <linux/of_platform.h>
+#include <linux/of_address.h>
+#include <linux/of_irq.h>
 #endif
 
 #define PFX "ipmi_si: "