diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2014-02-25 11:03:46 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-26 08:49:52 +0900 |
commit | 8669544a788a2d9de14cdbb3069b71ddc326e66f (patch) | |
tree | 8db7fcc38ba733527f69413c3dfd6238ffad861c /drivers/regulator/dummy.c | |
parent | c00dc359e5e0b10de993651d8e73e60c41bf29cd (diff) | |
download | linux-stable-8669544a788a2d9de14cdbb3069b71ddc326e66f.tar.gz linux-stable-8669544a788a2d9de14cdbb3069b71ddc326e66f.tar.bz2 linux-stable-8669544a788a2d9de14cdbb3069b71ddc326e66f.zip |
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>
Diffstat (limited to 'drivers/regulator/dummy.c')
-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 @@ 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; |