add PM7250B_SUBTYPE definition

Add the PM7250B_SUBTYPE definition in case Kernel qpnp-revid.h
does not define it in some platorms.

Change-Id: I7e32ff332dfb13ac0fc0387a42dc5ae596bf4d00
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1447619
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
yanyh2 2019-11-01 15:53:50 +08:00 • committed by Yonghua Yan
commit 5ab076b7d2

View file

@ -75,7 +75,7 @@ static struct smb_mmi_charger *this_chip = NULL;
#define PM8150B_SUBTYPE PM855B_SUBTYPE
#endif
#ifndef PM7250B_SUBTYPE
#define PM7250B_SUBTYPE PM8150B_SUBTYPE
#define PM7250B_SUBTYPE 0x2E
#endif
#define CHGR_BASE 0x1000