mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
fix r1.0_00026 rebase error
++++++++++ ld.lld: error: undefined symbol: smblib_get_prop_usb_voltage_max >>> referenced by qpnp-smb5.c:939 ++++++++++ move "#ifdef QCOM_BASE" to correct location Change-Id: I099e7f607e190d3ec3ce17a7a1ede8a7bd1c0005 Reviewed-on: https://gerrit.mot.com/1945042 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Submit-Approved: Jira Key Tested-by: Jira Key Reviewed-by: Haijian Ma <mahj8@motorola.com> Reviewed-by: Lianlu Chen <chenll4@lenovo.com>
This commit is contained in:
parent
baa5f17656
commit
ffaa6c5aad
1 changed files with 2 additions and 1 deletions
|
|
@ -3491,7 +3491,7 @@ int smblib_get_prop_usb_voltage_max_design(struct smb_charger *chg,
|
|||
{
|
||||
switch (chg->real_charger_type) {
|
||||
case QTI_POWER_SUPPLY_TYPE_USB_HVDCP:
|
||||
#ifdef QCOM_BASE
|
||||
|
||||
if (chg->qc2_unsupported_voltage == QC2_NON_COMPLIANT_9V) {
|
||||
val->intval = MICRO_5V;
|
||||
break;
|
||||
|
|
@ -3522,6 +3522,7 @@ int smblib_get_prop_usb_voltage_max(struct smb_charger *chg,
|
|||
{
|
||||
switch (chg->real_charger_type) {
|
||||
case QTI_POWER_SUPPLY_TYPE_USB_HVDCP:
|
||||
#ifdef QCOM_BASE
|
||||
if (chg->qc2_unsupported_voltage == QC2_NON_COMPLIANT_9V) {
|
||||
val->intval = MICRO_5V;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue