[PATCH] Missing include in include/asm-powerpc/prom.h

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Feb 6 07:14:29 EST 2007


On Mon, 2007-02-05 at 09:29 -0500, Mathieu Desnoyers wrote:
> Missing include in include/asm-powerpc/prom.h
> 
> include/asm-powerpc/prom.h needs to include asm/irq.h because it uses
> irq_of_parse_and_map and NO_IRQ. It applies on 2.6.20.

I'd rather not do that.... better to move of_irq_to_resource() to
prom_parse.c 

Ben





More information about the Linuxppc-dev mailing list