From: Michael Benedict Date: Sat, 31 Aug 2019 16:34:09 +0000 (+1000) Subject: mfc: silence enum conversion warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9894ba9003d40aa295d464d5e2f06f9f71b3135c;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git mfc: silence enum conversion warning Signed-off-by: Michael Benedict --- diff --git a/drivers/battery_v2/mfc_charger.c b/drivers/battery_v2/mfc_charger.c index a69a52ec90e9..827dd8e6c50c 100755 --- a/drivers/battery_v2/mfc_charger.c +++ b/drivers/battery_v2/mfc_charger.c @@ -2021,7 +2021,7 @@ static int mfc_chg_set_property(struct power_supply *psy, const union power_supply_propval *val) { struct mfc_charger_data *charger = power_supply_get_drvdata(psy); - enum power_supply_ext_property ext_psp = psp; + enum power_supply_ext_property ext_psp = (enum power_supply_ext_property) psp; int vout, vrect, iout, freq, i = 0; u8 tmp = 0; /* int ret; */