From: Axel Lin Date: Tue, 24 Dec 2013 13:37:50 +0000 (+0800) Subject: regulator: max77693: Add missing .owner field in regulator_desc X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=52f48bf33dff6ac261c77a1da6b9f6ab67509d37;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git regulator: max77693: Add missing .owner field in regulator_desc Add missing .owner field in regulator_desc, which is used for refcounting. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/max77693.c b/drivers/regulator/max77693.c index feb20bf4ccab..5fb899f461d0 100644 --- a/drivers/regulator/max77693.c +++ b/drivers/regulator/max77693.c @@ -138,6 +138,7 @@ static struct regulator_ops max77693_charger_ops = { .n_voltages = 4, \ .ops = &max77693_safeout_ops, \ .type = REGULATOR_VOLTAGE, \ + .owner = THIS_MODULE, \ .volt_table = max77693_safeout_table, \ .vsel_reg = MAX77693_CHG_REG_SAFEOUT_CTRL, \ .vsel_mask = SAFEOUT_CTRL_SAFEOUT##_num##_MASK, \