[PATCH] irqdomain: include linux/bug.h for WARN_ON()

Jamie Iles jamie at jamieiles.com
Sat Dec 31 07:00:16 EST 2011


On Mon, Dec 19, 2011 at 10:22:37PM +0000, Jamie Iles wrote:
> Commit 6d274309d (irq: support domains with non-zero hwirq base)
> introduced a WARN_ON() for an invalid hwirq in irq_domain_to_irq() but
> doesn't include linux/bug.h resulting in:
> 
> include/linux/irqdomain.h: In function 'irq_domain_to_irq':
> include/linux/irqdomain.h:78:2: error: implicit declaration of function 'WARN_ON'
> 
> if it isn't implicitly pulled in before.
> 
> Cc: Rob Herring <rob.herring at calxeda.com>
> Cc: Grant Likely <grant.likely at secretlab.ca>
> Cc: Thomas Gleixner <tglx at linutronix.de>
> Signed-off-by: Jamie Iles <jamie at jamieiles.com>

ping?

Jamie


More information about the devicetree-discuss mailing list