[PATCH] Slight refactor of interrupt mapping for FSL parts

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Oct 17 08:58:10 EST 2006


> +void of_irq_to_resource(struct device_node *dev, int index, struct resource *r)
> +{
> +	r->start = r->end = irq_of_parse_and_map(dev, index);
> +	r->flags = IORESOURCE_IRQ;
> +}
> +

What about having that one in prom_parse.c ?

Ben.





More information about the Linuxppc-dev mailing list