diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/pm.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index f4b3143a8b1d..1ec429964b7f 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c | |||
@@ -345,19 +345,19 @@ int __init omap2_common_pm_late_init(void) | |||
345 | * a completely different mechanism. | 345 | * a completely different mechanism. |
346 | * Disable this part if a DT blob is available. | 346 | * Disable this part if a DT blob is available. |
347 | */ | 347 | */ |
348 | if (of_have_populated_dt()) | 348 | if (!of_have_populated_dt()) { |
349 | return 0; | ||
350 | 349 | ||
351 | /* Init the voltage layer */ | 350 | /* Init the voltage layer */ |
352 | omap_pmic_late_init(); | 351 | omap_pmic_late_init(); |
353 | omap_voltage_late_init(); | 352 | omap_voltage_late_init(); |
354 | 353 | ||
355 | /* Initialize the voltages */ | 354 | /* Initialize the voltages */ |
356 | omap3_init_voltages(); | 355 | omap3_init_voltages(); |
357 | omap4_init_voltages(); | 356 | omap4_init_voltages(); |
358 | 357 | ||
359 | /* Smartreflex device init */ | 358 | /* Smartreflex device init */ |
360 | omap_devinit_smartreflex(); | 359 | omap_devinit_smartreflex(); |
360 | } | ||
361 | 361 | ||
362 | #ifdef CONFIG_SUSPEND | 362 | #ifdef CONFIG_SUSPEND |
363 | suspend_set_ops(&omap_pm_ops); | 363 | suspend_set_ops(&omap_pm_ops); |