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

From: Benjamin Herrenschmidt
Date: Mon Feb 05 2007 - 15:15:19 EST


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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/