diff options
Diffstat (limited to 'arch/powerpc/platforms/pasemi/setup.c')
-rw-r--r-- | arch/powerpc/platforms/pasemi/setup.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pasemi/setup.c b/arch/powerpc/platforms/pasemi/setup.c index 5bdd6abd89c0..c5a3f61f8d85 100644 --- a/arch/powerpc/platforms/pasemi/setup.c +++ b/arch/powerpc/platforms/pasemi/setup.c | |||
@@ -114,7 +114,7 @@ static __init void pas_init_IRQ(void) | |||
114 | mpic_node = NULL; | 114 | mpic_node = NULL; |
115 | 115 | ||
116 | for_each_node_by_type(np, "interrupt-controller") | 116 | for_each_node_by_type(np, "interrupt-controller") |
117 | if (device_is_compatible(np, "open-pic")) { | 117 | if (of_device_is_compatible(np, "open-pic")) { |
118 | mpic_node = np; | 118 | mpic_node = np; |
119 | break; | 119 | break; |
120 | } | 120 | } |
@@ -211,7 +211,10 @@ static struct of_device_id pasemi_bus_ids[] = { | |||
211 | 211 | ||
212 | static int __init pasemi_publish_devices(void) | 212 | static int __init pasemi_publish_devices(void) |
213 | { | 213 | { |
214 | /* Publish OF platform devices for southbridge IOs */ | 214 | if (!machine_is(pasemi)) |
215 | return 0; | ||
216 | |||
217 | /* Publish OF platform devices for SDC and other non-PCI devices */ | ||
215 | of_platform_bus_probe(NULL, pasemi_bus_ids, NULL); | 218 | of_platform_bus_probe(NULL, pasemi_bus_ids, NULL); |
216 | 219 | ||
217 | return 0; | 220 | return 0; |