Skip to content

Commit

Permalink
ipmi: explicitly include of_address.h and of_irq.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rob Herring authored and Grant Likely committed Jan 4, 2011
1 parent 4a3a255 commit 672d8ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/char/ipmi/ipmi_si_intf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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: "
Expand Down

0 comments on commit 672d8ea

Please sign in to comment.