diff options
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/axp221.c | 1 | ||||
-rw-r--r-- | drivers/power/regulator/act8846.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/power/axp221.c b/drivers/power/axp221.c index c22ca03f469..f5daa243082 100644 --- a/drivers/power/axp221.c +++ b/drivers/power/axp221.c @@ -10,6 +10,7 @@ */ #include <command.h> +#include <env.h> #include <errno.h> #include <asm/arch/pmic_bus.h> #include <axp_pmic.h> diff --git a/drivers/power/regulator/act8846.c b/drivers/power/regulator/act8846.c index d3e72da0d35..144032692f6 100644 --- a/drivers/power/regulator/act8846.c +++ b/drivers/power/regulator/act8846.c @@ -29,7 +29,7 @@ enum { REG_SYS0, REG_SYS1, REG1_VOL = 0x10, - REG1_CTL = 0X11, + REG1_CTL = 0x11, REG2_VOL0 = 0x20, REG2_VOL1, REG2_CTL, @@ -41,7 +41,7 @@ enum { REG4_CTL, REG5_VOL = 0x50, REG5_CTL, - REG6_VOL = 0X58, + REG6_VOL = 0x58, REG6_CTL, REG7_VOL = 0x60, REG7_CTL, |