From 9894ba9003d40aa295d464d5e2f06f9f71b3135c Mon Sep 17 00:00:00 2001 From: Michael Benedict Date: Sun, 1 Sep 2019 02:34:09 +1000 Subject: [PATCH] mfc: silence enum conversion warning Signed-off-by: Michael Benedict --- drivers/battery_v2/mfc_charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; */ -- 2.20.1