diff options
Diffstat (limited to 'arch/powerpc/platforms/powermac/smp.c')
-rw-r--r-- | arch/powerpc/platforms/powermac/smp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c index 330354113186..84f1860493bb 100644 --- a/arch/powerpc/platforms/powermac/smp.c +++ b/arch/powerpc/platforms/powermac/smp.c | |||
@@ -562,7 +562,7 @@ static void __init smp_core99_setup_i2c_hwsync(int ncpus) | |||
562 | /* Look for the clock chip */ | 562 | /* Look for the clock chip */ |
563 | while ((cc = of_find_node_by_name(cc, "i2c-hwclock")) != NULL) { | 563 | while ((cc = of_find_node_by_name(cc, "i2c-hwclock")) != NULL) { |
564 | p = of_get_parent(cc); | 564 | p = of_get_parent(cc); |
565 | ok = p && device_is_compatible(p, "uni-n-i2c"); | 565 | ok = p && of_device_is_compatible(p, "uni-n-i2c"); |
566 | of_node_put(p); | 566 | of_node_put(p); |
567 | if (!ok) | 567 | if (!ok) |
568 | continue; | 568 | continue; |
@@ -575,11 +575,11 @@ static void __init smp_core99_setup_i2c_hwsync(int ncpus) | |||
575 | continue; | 575 | continue; |
576 | switch (*reg) { | 576 | switch (*reg) { |
577 | case 0xd2: | 577 | case 0xd2: |
578 | if (device_is_compatible(cc,"pulsar-legacy-slewing")) { | 578 | if (of_device_is_compatible(cc,"pulsar-legacy-slewing")) { |
579 | pmac_tb_freeze = smp_core99_pulsar_tb_freeze; | 579 | pmac_tb_freeze = smp_core99_pulsar_tb_freeze; |
580 | pmac_tb_pulsar_addr = 0xd2; | 580 | pmac_tb_pulsar_addr = 0xd2; |
581 | name = "Pulsar"; | 581 | name = "Pulsar"; |
582 | } else if (device_is_compatible(cc, "cy28508")) { | 582 | } else if (of_device_is_compatible(cc, "cy28508")) { |
583 | pmac_tb_freeze = smp_core99_cypress_tb_freeze; | 583 | pmac_tb_freeze = smp_core99_cypress_tb_freeze; |
584 | name = "Cypress"; | 584 | name = "Cypress"; |
585 | } | 585 | } |