浏览代码

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 年之前
父节点
当前提交
5ccedf0342
共有 1 个文件被更改,包括 1 次插入1 次删除
  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_subdev_data *sub;