diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-12-24 17:37:50 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-24 17:44:50 +0400 |
commit | 52f48bf33dff6ac261c77a1da6b9f6ab67509d37 (patch) | |
tree | 428980ef633552814d7bd347a9e55662393d4b5c /drivers/regulator | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff) | |
download | linux-52f48bf33dff6ac261c77a1da6b9f6ab67509d37.tar.xz |
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 <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/max77693.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, \ |