diff options
Diffstat (limited to 'arch/powerpc/platforms/52xx/mpc52xx_pci.c')
-rw-r--r-- | arch/powerpc/platforms/52xx/mpc52xx_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_pci.c b/arch/powerpc/platforms/52xx/mpc52xx_pci.c index faf161bdbc1c..34d34a26d305 100644 --- a/arch/powerpc/platforms/52xx/mpc52xx_pci.c +++ b/arch/powerpc/platforms/52xx/mpc52xx_pci.c | |||
@@ -370,7 +370,7 @@ mpc52xx_add_bridge(struct device_node *node) | |||
370 | return -EINVAL; | 370 | return -EINVAL; |
371 | } | 371 | } |
372 | 372 | ||
373 | bus_range = get_property(node, "bus-range", &len); | 373 | bus_range = of_get_property(node, "bus-range", &len); |
374 | if (bus_range == NULL || len < 2 * sizeof(int)) { | 374 | if (bus_range == NULL || len < 2 * sizeof(int)) { |
375 | printk(KERN_WARNING "Can't get %s bus-range, assume bus 0\n", | 375 | printk(KERN_WARNING "Can't get %s bus-range, assume bus 0\n", |
376 | node->full_name); | 376 | node->full_name); |