From 38d34035e6e8a0b23752682a279d3a61ff75450e Mon Sep 17 00:00:00 2001 From: Yadwinder Singh Brar Date: Mon, 22 Oct 2012 09:39:28 +0530 Subject: 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 Signed-off-by: Mark Brown --- drivers/regulator/max77686.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/regulator/max77686.c') 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, val); } -int max77686_enable(struct regulator_dev *rdev) +static int max77686_enable(struct regulator_dev *rdev) { struct max77686_data *max77686 = rdev_get_drvdata(rdev); -- cgit v1.2.3