diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2014-09-01 12:55:58 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-01 12:56:20 +0100 |
commit | 5ccedf03427ec71ab29a8bd77110242a605085a5 (patch) | |
tree | 5a80e74b4ccc4b7a15dd62f23e652d933ceb8d5e /drivers/regulator | |
parent | 4eea4b8e4491d3b2a96ec4b9b0f3a188da018cd1 (diff) | |
download | linux-5ccedf03427ec71ab29a8bd77110242a605085a5.tar.bz2 |
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')
-rw-r--r-- | drivers/regulator/max1586.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |