diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2014-09-01 13:55:58 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-01 13:56:20 +0200 |
commit | 5ccedf03427ec71ab29a8bd77110242a605085a5 (patch) | |
tree | 5a80e74b4ccc4b7a15dd62f23e652d933ceb8d5e | |
parent | regulator: max1586: add device-tree binding (diff) | |
download | linux-5ccedf03427ec71ab29a8bd77110242a605085a5.tar.xz linux-5ccedf03427ec71ab29a8bd77110242a605085a5.zip |
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>
-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; |