Message ID | 1429542128-21021-5-git-send-email-ahaslam@baylibre.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
diff --git a/arch/arm/mach-exynos/pm_domains.c b/arch/arm/mach-exynos/pm_domains.c index 37266a8..01fc620 100644 --- a/arch/arm/mach-exynos/pm_domains.c +++ b/arch/arm/mach-exynos/pm_domains.c @@ -128,8 +128,10 @@ static __init int exynos4_pm_init_power_domain(void) pd->pd.name = kstrdup(np->name, GFP_KERNEL); pd->name = pd->pd.name; pd->base = of_iomap(np, 0); - pd->pd.power_off = exynos_pd_power_off; - pd->pd.power_on = exynos_pd_power_on; + pd->pd.states[0].power_off = exynos_pd_power_off; + pd->pd.states[0].power_on = exynos_pd_power_on; + pd->pd.states[0].name = "off"; + pd->pd.state_count = 1; pd->oscclk = clk_get(dev, "oscclk"); if (IS_ERR(pd->oscclk))