charging: fixed build error

fixed build
errror

Change-Id: I1f89173d4ca4e63824868970cd238c62d3a18bbe
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2195220
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
mahj8 2022-02-21 11:07:45 +08:00 • committed by Haijian Ma
commit 253e76eb23

View file

@ -1830,6 +1830,7 @@ static int mmi_detected_qc30_hvdcp(struct bq2589x *bq, int *charger_type)
return ret;
}
#ifdef CONFIG_MMI_QC3P_TURBO_CHARGER
static int bq2589x_detected_qc3p_hvdcp(struct bq2589x *bq, int *charger_type)
{
int ret = 0;
@ -1940,6 +1941,7 @@ static int bq2589x_detected_qc3p_hvdcp(struct bq2589x *bq, int *charger_type)
return ret;
}
#endif
#endif
#ifdef CONFIG_MMI_QC3P_WT6670_DETECTED
bool is_chan_valid(struct bq2589x *chip,