Browse Source

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>
Fengguang Wu 11 years ago
parent
commit
5ccedf0342
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/regulator/max1586.c

+ 1 - 1
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_platform_data *pdata)
 {
 {
 	struct max1586_subdev_data *sub;
 	struct max1586_subdev_data *sub;