From 5ab076b7d2d81f927c9f58f1fb91b01433aea7e4 Mon Sep 17 00:00:00 2001 From: yanyh2 Date: Fri, 1 Nov 2019 15:53:50 +0800 Subject: [PATCH] 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 Reviewed-on: https://gerrit.mot.com/1447619 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Jianqi Yang Submit-Approved: Jira Key --- drivers/power/qpnp-smbcharger-mmi/qpnp-smbcharger-mmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/qpnp-smbcharger-mmi/qpnp-smbcharger-mmi.c b/drivers/power/qpnp-smbcharger-mmi/qpnp-smbcharger-mmi.c index 1fb7746235b1..dc3ebb12d291 100644 --- a/drivers/power/qpnp-smbcharger-mmi/qpnp-smbcharger-mmi.c +++ b/drivers/power/qpnp-smbcharger-mmi/qpnp-smbcharger-mmi.c @@ -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