aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/ab8500-sysctrl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/ab8500-sysctrl.c b/drivers/mfd/ab8500-sysctrl.c
index 640495e07144..b851692b0755 100644
--- a/drivers/mfd/ab8500-sysctrl.c
+++ b/drivers/mfd/ab8500-sysctrl.c
@@ -191,6 +191,8 @@ static int ab8500_sysctrl_probe(struct platform_device *pdev)
191 if (!(plat && plat->sysctrl)) 191 if (!(plat && plat->sysctrl))
192 return -EINVAL; 192 return -EINVAL;
193 193
194 sysctrl_dev = &pdev->dev;
195
194 if (plat->pm_power_off) 196 if (plat->pm_power_off)
195 pm_power_off = ab8500_power_off; 197 pm_power_off = ab8500_power_off;
196 198