diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2014-02-25 10:03:46 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-25 23:49:52 (GMT) |
commit | 8669544a788a2d9de14cdbb3069b71ddc326e66f (patch) | |
tree | 8db7fcc38ba733527f69413c3dfd6238ffad861c | |
parent | c00dc359e5e0b10de993651d8e73e60c41bf29cd (diff) | |
download | linux-8669544a788a2d9de14cdbb3069b71ddc326e66f.tar.xz |
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 df9f425..2436db9 100644 --- a/drivers/regulator/dummy.c +++ b/drivers/regulator/dummy.c @@ -25,7 +25,11 @@ struct regulator_dev *dummy_regulator_rdev; -static struct regulator_init_data dummy_initdata; +static struct regulator_init_data dummy_initdata = { + .constraints = { + .always_on = 1, + }, +}; static struct regulator_ops dummy_ops; |