]> git.karo-electronics.de Git - linux-beck.git/commitdiff
regulator: max1586: of_get_max1586_platform_data() can be static
authorFengguang Wu <fengguang.wu@intel.com>
Mon, 1 Sep 2014 11:55:58 +0000 (12:55 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 1 Sep 2014 11:56:20 +0000 (12:56 +0100)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max1586.c

index 5c04a7159baaab3012ed29861ffdaa3e4ed5987e..86db310d5304ad00dadcd605c6f9a9deb63a652c 100644 (file)
@@ -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;