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/fixed.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/fixed.c')
-rw-r--r-- | drivers/power/regulator/fixed.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/power/regulator/fixed.c b/drivers/power/regulator/fixed.c index b5f7aec..2fa6c7e 100644 --- a/drivers/power/regulator/fixed.c +++ b/drivers/power/regulator/fixed.c @@ -5,7 +5,6 @@ * Przemyslaw Marczak <p.marczak@samsung.com> */ -#include "regulator_common.h" #include <common.h> #include <errno.h> #include <dm.h> @@ -13,6 +12,8 @@ #include <power/pmic.h> #include <power/regulator.h> +#include "regulator_common.h" + static int fixed_regulator_ofdata_to_platdata(struct udevice *dev) { struct dm_regulator_uclass_platdata *uc_pdata; |