Message ID | 1392309712.3072.13.camel@pizza.hi.pengutronix.de |
---|---|
State | New |
Headers | show |
--- a/arch/arm/mach-imx/gpc.c +++ b/arch/arm/mach-imx/gpc.c @@ -366,8 +366,12 @@ static int imx_gpc_probe(struct platform_device *pdev) regulator_allow_bypass(pu_reg, true); imx6q_pu_domain.of_node = np; +#ifdef CONFIG_PM_RUNTIME imx6q_pm_pu_power_off(&imx6q_pu_domain); pm_genpd_init(&imx6q_pu_domain, NULL, true); +#else + pm_genpd_init(&imx6q_pu_domain, NULL, false); +#endif bus_register_notifier(&platform_bus_type, &imx6q_platform_nb); return 0;