@@ -105,6 +105,12 @@ static int exynos_pd_power_off(struct generic_pm_domain *domain)
return exynos_pd_power(domain, false);
}
+struct genpd_power_state exynos_pm_states[] = {
+ {
+ .name = "OFF",
+ }
+};
+
static __init int exynos4_pm_init_power_domain(void)
{
struct platform_device *pdev;
@@ -130,6 +136,8 @@ static __init int exynos4_pm_init_power_domain(void)
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 = exynos_pm_states;
+ pd->pd.state_count = ARRAY_SIZE(exynos_pm_states);
pd->oscclk = clk_get(dev, "oscclk");
if (IS_ERR(pd->oscclk))