summaryrefslogtreecommitdiff
path: root/drivers/power/regulator/Makefile
diff options
context:
space:
mode:
authorSven Schwermer <sven@svenschwermer.de>2019-06-24 13:03:33 +0200
committerTom Rini <trini@konsulko.com>2019-07-18 11:31:24 -0400
commit2f7a5f2682edc99daee1fa1d7dadd4b9f09e7b59 (patch)
tree4bb451920c945448a68b3a8013c585d7226c9dd8 /drivers/power/regulator/Makefile
parent0c1456d571e77000a98cdf5009fad6277426aa75 (diff)
regulator: Factor out common enable code
In preparation of being able to enable/disable GPIO regulators, the code that will be shared among the two kinds to regulators is factored out into its own source files. Signed-off-by: Sven Schwermer <sven@svenschwermer.de> Reviewed-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'drivers/power/regulator/Makefile')
-rw-r--r--drivers/power/regulator/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/regulator/Makefile b/drivers/power/regulator/Makefile
index 8c1506c88e..e728b73aee 100644
--- a/drivers/power/regulator/Makefile
+++ b/drivers/power/regulator/Makefile
@@ -11,6 +11,7 @@ obj-$(CONFIG_DM_REGULATOR_MAX77686) += max77686.o
obj-$(CONFIG_$(SPL_)DM_PMIC_PFUZE100) += pfuze100.o
obj-$(CONFIG_$(SPL_)REGULATOR_PWM) += pwm_regulator.o
obj-$(CONFIG_$(SPL_)DM_REGULATOR_FAN53555) += fan53555.o
+obj-$(CONFIG_$(SPL_)DM_REGULATOR_COMMON) += regulator_common.o
obj-$(CONFIG_$(SPL_)DM_REGULATOR_FIXED) += fixed.o
obj-$(CONFIG_$(SPL_)DM_REGULATOR_GPIO) += gpio-regulator.o
obj-$(CONFIG_REGULATOR_RK8XX) += rk8xx.o