power: bq2589x_chg_mmi: Fix implicit-int error

drivers/power/bq2589x_chg_mmi/bq2589x_charger.c:1518:8: error: type
specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
static bq2589x_reuqest_dpdm(struct bq2589x *bq, bool enable)
~~~~~~ ^
int
1 error generated.

Change-Id: I05d81da96a672ac64a5ba13718339d50ad3c9899
This commit is contained in:
FPSensor authored and Michael Bestas committed 2024-01-07 15:54:51 +02:00
1 parent 7bb87007f2
commit 37cc1b47bc
1 file changed
+1 -1
@@ -1623,7 +1623,7 @@ int bq2589x_get_usb_present(struct bq2589x *bq)
return ret;
}
static bq2589x_reuqest_dpdm(struct bq2589x *bq, bool enable)
static int bq2589x_reuqest_dpdm(struct bq2589x *bq, bool enable)
{
int ret = 0;