diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2014-02-25 05:03:46 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-25 18:49:52 -0500 |
commit | 8669544a788a2d9de14cdbb3069b71ddc326e66f (patch) | |
tree | 8db7fcc38ba733527f69413c3dfd6238ffad861c | |
parent | c00dc359e5e0b10de993651d8e73e60c41bf29cd (diff) |
regulator: dummy: Should be always-on
Regulator dummy does not have any enable operations. So it is always_on.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | drivers/regulator/dummy.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/regulator/dummy.c b/drivers/regulator/dummy.c index df9f42524abb..2436db9e2ca3 100644 --- a/drivers/regulator/dummy.c +++ b/drivers/regulator/dummy.c | |||
@@ -25,7 +25,11 @@ | |||
25 | 25 | ||
26 | struct regulator_dev *dummy_regulator_rdev; | 26 | struct regulator_dev *dummy_regulator_rdev; |
27 | 27 | ||
28 | static struct regulator_init_data dummy_initdata; | 28 | static struct regulator_init_data dummy_initdata = { |
29 | .constraints = { | ||
30 | .always_on = 1, | ||
31 | }, | ||
32 | }; | ||
29 | 33 | ||
30 | static struct regulator_ops dummy_ops; | 34 | static struct regulator_ops dummy_ops; |
31 | 35 | ||