summaryrefslogtreecommitdiff
path: root/drivers/power/regulator/lp87565_regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/regulator/lp87565_regulator.c')
-rw-r--r--drivers/power/regulator/lp87565_regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/regulator/lp87565_regulator.c b/drivers/power/regulator/lp87565_regulator.c
index 2a0b8ca642..d908f6d1fb 100644
--- a/drivers/power/regulator/lp87565_regulator.c
+++ b/drivers/power/regulator/lp87565_regulator.c
@@ -166,7 +166,7 @@ static int buck_set_value(struct udevice *dev, int uV)
return lp87565_buck_val(dev, PMIC_OP_SET, &uV);
}
-static bool buck_get_enable(struct udevice *dev)
+static int buck_get_enable(struct udevice *dev)
{
bool enable = false;
int ret;