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>
This commit is contained in:
parent
c00dc359e5
commit
8669544a78
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue