mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-01 16:14:13 +08:00
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
Block a user