[POWERPC] Move of_irq_to_resource from prom.h to prom_parse.c
commitc0b3ae14f14f53fb0d0453feeeb830a080726155
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Tue, 6 Feb 2007 01:03:31 +0000 (6 12:03 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 2 May 2007 06:40:55 +0000 (2 16:40 +1000)
tree29b9d4c01f27faff8390b9b19d56ac85ef790945
parent0eb2e6019ae8e76a537bdca07b31e1524a3bba48
[POWERPC] Move of_irq_to_resource from prom.h to prom_parse.c

In the powerpc architecture, of_irq_to_resource, currently sitting in
prom.h, needs irq_of_parse_and_map and NO_IRQ from asm-powerpc/irq.h.
The solution suggested by Benjamin Herrenschmidt is to move it to
arch/powerpc/kernel/prom_parse.c.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom_parse.c
include/asm-powerpc/prom.h