diff options
author | Yadwinder Singh Brar <yadi.brar@samsung.com> | 2012-10-22 00:09:28 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-10-22 09:55:36 -0400 |
commit | 38d34035e6e8a0b23752682a279d3a61ff75450e (patch) | |
tree | 9801b06aa6530ef2a0d03fffc300f0cd940ea674 /drivers/regulator/max77686.c | |
parent | 15282ba9ea9d22c437dd53e589b937207b6a38ce (diff) |
regulator: max77686: Make max77686_enable() static.
This patch fixes a sparse warning. Since max77686_enable() is a callback,so it
should be static.
Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/max77686.c')
-rw-r--r-- | drivers/regulator/max77686.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max77686.c b/drivers/regulator/max77686.c index 383eb9d1ae0c..c9bec1686b88 100644 --- a/drivers/regulator/max77686.c +++ b/drivers/regulator/max77686.c | |||
@@ -146,7 +146,7 @@ static int max77686_ldo_set_suspend_mode(struct regulator_dev *rdev, | |||
146 | val); | 146 | val); |
147 | } | 147 | } |
148 | 148 | ||
149 | int max77686_enable(struct regulator_dev *rdev) | 149 | static int max77686_enable(struct regulator_dev *rdev) |
150 | { | 150 | { |
151 | struct max77686_data *max77686 = rdev_get_drvdata(rdev); | 151 | struct max77686_data *max77686 = rdev_get_drvdata(rdev); |
152 | 152 | ||