From: Fengguang Wu Date: Mon, 1 Sep 2014 11:55:58 +0000 (+0100) Subject: regulator: max1586: of_get_max1586_platform_data() can be static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5ccedf03427ec71ab29a8bd77110242a605085a5;p=linux-beck.git regulator: max1586: of_get_max1586_platform_data() can be static Signed-off-by: Fengguang Wu Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/max1586.c b/drivers/regulator/max1586.c index 5c04a7159baa..86db310d5304 100644 --- a/drivers/regulator/max1586.c +++ b/drivers/regulator/max1586.c @@ -159,7 +159,7 @@ static struct regulator_desc max1586_reg[] = { }, }; -int of_get_max1586_platform_data(struct device *dev, +static int of_get_max1586_platform_data(struct device *dev, struct max1586_platform_data *pdata) { struct max1586_subdev_data *sub;