[POWERPC] spiderpic: enable new style devtree support

This enables support for new firmware test releases.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

authored by Arnd Bergmann and committed by Paul Mackerras f7e2ce78 68272047

+1 -3
+1 -3
arch/powerpc/platforms/cell/spider-pic.c
··· 244 int imaplen, intsize, unit; 245 struct device_node *iic; 246 247 - #if 0 /* Enable that when we have a way to retreive the node as well */ 248 /* First, we check wether we have a real "interrupts" in the device 249 * tree in case the device-tree is ever fixed 250 */ ··· 251 if (of_irq_map_one(pic->of_node, 0, &oirq) == 0) { 252 virq = irq_create_of_mapping(oirq.controller, oirq.specifier, 253 oirq.size); 254 - goto bail; 255 } 256 - #endif 257 258 /* Now do the horrible hacks */ 259 tmp = get_property(pic->of_node, "#interrupt-cells", NULL);
··· 244 int imaplen, intsize, unit; 245 struct device_node *iic; 246 247 /* First, we check wether we have a real "interrupts" in the device 248 * tree in case the device-tree is ever fixed 249 */ ··· 252 if (of_irq_map_one(pic->of_node, 0, &oirq) == 0) { 253 virq = irq_create_of_mapping(oirq.controller, oirq.specifier, 254 oirq.size); 255 + return virq; 256 } 257 258 /* Now do the horrible hacks */ 259 tmp = get_property(pic->of_node, "#interrupt-cells", NULL);