summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max77693.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-12-24 21:37:50 +0800
committerMark Brown <broonie@linaro.org>2013-12-24 13:44:50 +0000
commit52f48bf33dff6ac261c77a1da6b9f6ab67509d37 (patch)
tree428980ef633552814d7bd347a9e55662393d4b5c /drivers/regulator/max77693.c
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff)
downloadop-kernel-dev-52f48bf33dff6ac261c77a1da6b9f6ab67509d37.zip
op-kernel-dev-52f48bf33dff6ac261c77a1da6b9f6ab67509d37.tar.gz
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/max77693.c')
-rw-r--r--drivers/regulator/max77693.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/max77693.c b/drivers/regulator/max77693.c
index feb20bf..5fb899f 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, \
OpenPOWER on IntegriCloud