diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-19 10:15:44 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-08-03 22:19:54 -0400 |
commit | ad2f4ac39b13883e6bc1595137e61a4679906e42 (patch) | |
tree | b76ec8e1a419a48cb618929c60d2bde47c92fd48 /drivers/power/regulator/regulator_common.c | |
parent | e1e10f29f9b5739b39b08b0c0040ec0cb315f3d7 (diff) | |
download | u-boot-ad2f4ac39b13883e6bc1595137e61a4679906e42.zip u-boot-ad2f4ac39b13883e6bc1595137e61a4679906e42.tar.gz u-boot-ad2f4ac39b13883e6bc1595137e61a4679906e42.tar.bz2 |
power: Tidy up inclusion of regulator_common.h
This file should not include common.h and dm.h so remove them. Also move
the inclusion of this file to after the normal includes.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'drivers/power/regulator/regulator_common.c')
-rw-r--r-- | drivers/power/regulator/regulator_common.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/power/regulator/regulator_common.c b/drivers/power/regulator/regulator_common.c index 4cfcc31..13906b9 100644 --- a/drivers/power/regulator/regulator_common.c +++ b/drivers/power/regulator/regulator_common.c @@ -4,12 +4,14 @@ * Sven Schwermer <sven.svenschwermer@disruptive-technologies.com> */ -#include "regulator_common.h" #include <common.h> +#include <dm.h> #include <log.h> #include <linux/delay.h> #include <power/regulator.h> +#include "regulator_common.h" + int regulator_common_ofdata_to_platdata(struct udevice *dev, struct regulator_common_platdata *dev_pdata, const char *enable_gpio_name) { |