charging: fixed 15W product build error

fixed 15W product
build error

Signed-off-by: mahj8 <mahj8@motorola.com>
Change-Id: I020a10375e04de6193756de89df175bff86bc011
Reviewed-on: https://gerrit.mot.com/2164862
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
mahj8 2022-01-07 17:56:29 +08:00 • committed by Haijian Ma
commit 4c5a64b2ac

View file

@ -1448,6 +1448,7 @@ static int sgm4154x_detected_qc30_hvdcp(struct sgm4154x_device *sgm, int *charge
return ret;
}
#ifdef CONFIG_MMI_QC3P_TURBO_CHARGER
static int sgm4154x_detected_qc3p_hvdcp(struct sgm4154x_device *sgm, int *charger_type)
{
int ret = 0;
@ -1557,6 +1558,7 @@ static int sgm4154x_detected_qc3p_hvdcp(struct sgm4154x_device *sgm, int *charge
return ret;
}
#endif
#endif
#ifdef CONFIG_MMI_QC3P_WT6670_DETECTED
bool is_chan_valid(struct sgm4154x_device *chip,