diff --git a/drivers/power/regulator/tps65090_regulator.c b/drivers/power/regulator/tps65090_regulator.c index affc504071..32aeab98e2 100644 --- a/drivers/power/regulator/tps65090_regulator.c +++ b/drivers/power/regulator/tps65090_regulator.c @@ -23,7 +23,7 @@ static int tps65090_fet_probe(struct udevice *dev) return 0; } -static bool tps65090_fet_get_enable(struct udevice *dev) +static int tps65090_fet_get_enable(struct udevice *dev) { struct udevice *pmic = dev_get_parent(dev); int ret, fet_id;