summaryrefslogtreecommitdiff
path: root/drivers/regulator/max1586.c
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2014-09-01 11:55:58 (GMT)
committerMark Brown <broonie@kernel.org>2014-09-01 11:56:20 (GMT)
commit5ccedf03427ec71ab29a8bd77110242a605085a5 (patch)
tree5a80e74b4ccc4b7a15dd62f23e652d933ceb8d5e /drivers/regulator/max1586.c
parent4eea4b8e4491d3b2a96ec4b9b0f3a188da018cd1 (diff)
downloadlinux-5ccedf03427ec71ab29a8bd77110242a605085a5.tar.xz
regulator: max1586: of_get_max1586_platform_data() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/max1586.c')
-rw-r--r--drivers/regulator/max1586.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max1586.c b/drivers/regulator/max1586.c
index 5c04a71..86db310 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;