Commit 38d34035 authored by Yadwinder Singh Brar's avatar Yadwinder Singh Brar Committed by Mark Brown

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: default avatarYadwinder Singh Brar <yadi.brar@samsung.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 15282ba9
......@@ -146,7 +146,7 @@ static int max77686_ldo_set_suspend_mode(struct regulator_dev *rdev,
val);
}
int max77686_enable(struct regulator_dev *rdev)
static int max77686_enable(struct regulator_dev *rdev)
{
struct max77686_data *max77686 = rdev_get_drvdata(rdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment