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 2023-10-07 07:18:26 +00:00 committed by Michael Bestas
parent 9fd9804794
commit fc0ff38a38
No known key found for this signature in database
GPG key ID: CC95044519BE6669

View file

@ -1515,7 +1515,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;