diff options
Diffstat (limited to 'drivers/of/platform.c')
-rw-r--r-- | drivers/of/platform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c index 8aa197691074..f39ccd5aa701 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c | |||
@@ -497,6 +497,7 @@ int of_platform_default_populate(struct device_node *root, | |||
497 | } | 497 | } |
498 | EXPORT_SYMBOL_GPL(of_platform_default_populate); | 498 | EXPORT_SYMBOL_GPL(of_platform_default_populate); |
499 | 499 | ||
500 | #ifndef CONFIG_PPC | ||
500 | static int __init of_platform_default_populate_init(void) | 501 | static int __init of_platform_default_populate_init(void) |
501 | { | 502 | { |
502 | struct device_node *node; | 503 | struct device_node *node; |
@@ -521,6 +522,7 @@ static int __init of_platform_default_populate_init(void) | |||
521 | return 0; | 522 | return 0; |
522 | } | 523 | } |
523 | arch_initcall_sync(of_platform_default_populate_init); | 524 | arch_initcall_sync(of_platform_default_populate_init); |
525 | #endif | ||
524 | 526 | ||
525 | static int of_platform_device_destroy(struct device *dev, void *data) | 527 | static int of_platform_device_destroy(struct device *dev, void *data) |
526 | { | 528 | { |