diff options
Diffstat (limited to 'arch/powerpc/platforms/cell/spider-pic.c')
-rw-r--r-- | arch/powerpc/platforms/cell/spider-pic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/spider-pic.c b/arch/powerpc/platforms/cell/spider-pic.c index fb1f15797bbb..05f4b3d3d756 100644 --- a/arch/powerpc/platforms/cell/spider-pic.c +++ b/arch/powerpc/platforms/cell/spider-pic.c | |||
@@ -358,12 +358,12 @@ void __init spider_init_IRQ(void) | |||
358 | */ | 358 | */ |
359 | for (dn = NULL; | 359 | for (dn = NULL; |
360 | (dn = of_find_node_by_name(dn, "interrupt-controller"));) { | 360 | (dn = of_find_node_by_name(dn, "interrupt-controller"));) { |
361 | if (device_is_compatible(dn, "CBEA,platform-spider-pic")) { | 361 | if (of_device_is_compatible(dn, "CBEA,platform-spider-pic")) { |
362 | if (of_address_to_resource(dn, 0, &r)) { | 362 | if (of_address_to_resource(dn, 0, &r)) { |
363 | printk(KERN_WARNING "spider-pic: Failed\n"); | 363 | printk(KERN_WARNING "spider-pic: Failed\n"); |
364 | continue; | 364 | continue; |
365 | } | 365 | } |
366 | } else if (device_is_compatible(dn, "sti,platform-spider-pic") | 366 | } else if (of_device_is_compatible(dn, "sti,platform-spider-pic") |
367 | && (chip < 2)) { | 367 | && (chip < 2)) { |
368 | static long hard_coded_pics[] = | 368 | static long hard_coded_pics[] = |
369 | { 0x24000008000ul, 0x34000008000ul}; | 369 | { 0x24000008000ul, 0x34000008000ul}; |