From: Markus Pargmann Date: Tue, 25 Feb 2014 10:03:46 +0000 (+0100) Subject: regulator: dummy: Should be always-on X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8669544a788a2d9de14cdbb3069b71ddc326e66f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git regulator: dummy: Should be always-on Regulator dummy does not have any enable operations. So it is always_on. Signed-off-by: Markus Pargmann Signed-off-by: Mark Brown --- 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;