[PATCH] of_irq_to_resource now returns the virq
authorAndy Fleming <afleming@freescale.com>
Tue, 7 Nov 2006 22:57:22 +0000 (16:57 -0600)
committerPaul Mackerras <paulus@samba.org>
Mon, 13 Nov 2006 03:48:54 +0000 (14:48 +1100)
commit66a91e9c0ab62ea938afaba7352741d8c554a589
tree7fd491c3088f098bb9676bd6d0458db8bc6673c7
parenta9b14973a8c42b2aecc968851372203c6567e196
[PATCH] of_irq_to_resource now returns the virq

Mostly this is to allow for error checking (check the return for NO_IRQ)
Added a check that the resource is non-NULL, too.

Signed-off-by: Andrew Fleming <afleming@freescale.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/prom.h