[PATCH 3/7] ipmi: explicitly include of_address.h and of_irq.h

Grant Likely grant.likely at secretlab.ca
Wed Nov 17 16:23:44 EST 2010


On Tue, Nov 16, 2010 at 02:33:51PM -0600, Rob Herring wrote:
> From: Rob Herring <rob.herring at calxeda.com>
> 
> 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 at calxeda.com>

merged, thanks.

> ---
>  drivers/char/ipmi/ipmi_si_intf.c |    2 ++
>  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 8842044..51b33cf 100644
> --- a/drivers/char/ipmi/ipmi_si_intf.c
> +++ b/drivers/char/ipmi/ipmi_si_intf.c
> @@ -69,6 +69,8 @@
>  #ifdef CONFIG_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: "
> -- 
> 1.7.1
> 
> _______________________________________________
> devicetree-discuss mailing list
> devicetree-discuss at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/devicetree-discuss


More information about the devicetree-discuss mailing list