diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-12-24 08:37:50 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-24 08:44:50 -0500 |
commit | 52f48bf33dff6ac261c77a1da6b9f6ab67509d37 (patch) | |
tree | 428980ef633552814d7bd347a9e55662393d4b5c /drivers/regulator/max77693.c | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff) |
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.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 = { | |||
138 | .n_voltages = 4, \ | 138 | .n_voltages = 4, \ |
139 | .ops = &max77693_safeout_ops, \ | 139 | .ops = &max77693_safeout_ops, \ |
140 | .type = REGULATOR_VOLTAGE, \ | 140 | .type = REGULATOR_VOLTAGE, \ |
141 | .owner = THIS_MODULE, \ | ||
141 | .volt_table = max77693_safeout_table, \ | 142 | .volt_table = max77693_safeout_table, \ |
142 | .vsel_reg = MAX77693_CHG_REG_SAFEOUT_CTRL, \ | 143 | .vsel_reg = MAX77693_CHG_REG_SAFEOUT_CTRL, \ |
143 | .vsel_mask = SAFEOUT_CTRL_SAFEOUT##_num##_MASK, \ | 144 | .vsel_mask = SAFEOUT_CTRL_SAFEOUT##_num##_MASK, \ |