Commit 8669544a authored by Markus Pargmann's avatar Markus Pargmann Committed by Mark Brown

regulator: dummy: Should be always-on

Regulator dummy does not have any enable operations. So it is always_on.
Signed-off-by: default avatarMarkus Pargmann <mpa@pengutronix.de>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent c00dc359
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment