summaryrefslogtreecommitdiff
path: root/drivers/char/ipmi
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2010-11-16 23:33:51 +0300
committerGrant Likely <grant.likely@secretlab.ca>2011-01-04 10:39:37 +0300
commit672d8eafe38e9324055b8c0d0ad6e95c43b6d52a (patch)
treec4dcfe9e042f2c57f05d8989173fd0c510ee7b94 /drivers/char/ipmi
parent4a3a255289e7e322b8044286cce85031990f888a (diff)
downloadlinux-672d8eafe38e9324055b8c0d0ad6e95c43b6d52a.tar.xz
ipmi: explicitly include of_address.h and of_irq.h
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>
Diffstat (limited to 'drivers/char/ipmi')
-rw-r--r--drivers/char/ipmi/ipmi_si_intf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
index 8cc4607cc86c..f27c04e18aaa 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -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: "