summaryrefslogtreecommitdiff
path: root/drivers/power/pmic
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2017-08-04 11:04:23 +0800
committerYe Li <ye.li@nxp.com>2018-04-27 02:30:59 -0700
commitcc1f5c2bf70307e9b0449037ba397996ba4c030d (patch)
tree88ee6b3401b577d89df937a42a42c94f921c7342 /drivers/power/pmic
parent80bc3fccc0c7d7722d9794b7b62195548eabc060 (diff)
MLK-16132-4: power: pmic/regulator allow dm be omited by SPL
Allow the dm driver be omited by SPL. Fix wrong config name for pfuze100 regulator. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'drivers/power/pmic')
-rw-r--r--drivers/power/pmic/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/pmic/Makefile b/drivers/power/pmic/Makefile
index fc19fdc701..6793022501 100644
--- a/drivers/power/pmic/Makefile
+++ b/drivers/power/pmic/Makefile
@@ -5,7 +5,7 @@
# SPDX-License-Identifier: GPL-2.0+
#
-obj-$(CONFIG_DM_PMIC) += pmic-uclass.o
+obj-$(CONFIG_$(SPL_)DM_PMIC) += pmic-uclass.o
obj-$(CONFIG_DM_PMIC_MAX77686) += max77686.o
obj-$(CONFIG_DM_PMIC_MAX8998) += max8998.o
obj-$(CONFIG_$(SPL_)DM_PMIC_PFUZE100) += pfuze100.o