[PATCH] irqdomain: include linux/bug.h for WARN_ON()
Rob Herring
robherring2 at gmail.com
Sat Dec 31 07:13:59 EST 2011
On 12/30/2011 02:00 PM, Jamie Iles wrote:
> 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>
>
Applied for 3.3.
Rob
More information about the devicetree-discuss
mailing list