[U-Boot] [PATCH 02/28] power: Move as3722 pmic to pmic/ directory

Simon Glass sjg at chromium.org
Thu Apr 27 04:27:45 UTC 2017


Most of the PMICs are in the drivers/power/pmic/ directory. Move this one
there.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/power/Makefile            | 1 -
 drivers/power/pmic/Makefile       | 1 +
 drivers/power/{ => pmic}/as3722.c | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename drivers/power/{ => pmic}/as3722.c (100%)

diff --git a/drivers/power/Makefile b/drivers/power/Makefile
index 29e135756b..90a3b00a7c 100644
--- a/drivers/power/Makefile
+++ b/drivers/power/Makefile
@@ -5,7 +5,6 @@
 # SPDX-License-Identifier:	GPL-2.0+
 #
 
-obj-$(CONFIG_PMIC_AS3722)	+= as3722.o
 obj-$(CONFIG_AXP152_POWER)	+= axp152.o
 obj-$(CONFIG_AXP209_POWER)	+= axp209.o
 obj-$(CONFIG_AXP221_POWER)	+= axp221.o
diff --git a/drivers/power/pmic/Makefile b/drivers/power/pmic/Makefile
index 40240c7936..5f1bef33cd 100644
--- a/drivers/power/pmic/Makefile
+++ b/drivers/power/pmic/Makefile
@@ -12,6 +12,7 @@ obj-$(CONFIG_DM_PMIC_PFUZE100) += pfuze100.o
 obj-$(CONFIG_PMIC_S2MPS11) += s2mps11.o
 obj-$(CONFIG_DM_PMIC_SANDBOX) += sandbox.o i2c_pmic_emul.o
 obj-$(CONFIG_PMIC_ACT8846) += act8846.o
+obj-$(CONFIG_PMIC_AS3722) += as3722.o
 obj-$(CONFIG_PMIC_MAX8997) += max8997.o
 obj-$(CONFIG_PMIC_PM8916) += pm8916.o
 obj-$(CONFIG_PMIC_RK808) += rk808.o
diff --git a/drivers/power/as3722.c b/drivers/power/pmic/as3722.c
similarity index 100%
rename from drivers/power/as3722.c
rename to drivers/power/pmic/as3722.c
-- 
2.13.0.rc0.306.g87b477812d-goog



More information about the U-Boot mailing list