From: Axel Lin Date: Mon, 28 Jan 2013 14:17:46 +0000 (+0800) Subject: regulator: gpio-regulator: Staticize of_get_gpio_regulator_config() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a451405fcdf4048aa46c80ede25b36eba27ba3ec;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git regulator: gpio-regulator: Staticize of_get_gpio_regulator_config() of_get_gpio_regulator_config() is only used in gpio-regulator.c, make it static. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/gpio-regulator.c b/drivers/regulator/gpio-regulator.c index d819ba73a187..9d39eb4aafa3 100644 --- a/drivers/regulator/gpio-regulator.c +++ b/drivers/regulator/gpio-regulator.c @@ -132,7 +132,7 @@ static struct regulator_ops gpio_regulator_voltage_ops = { .list_voltage = gpio_regulator_list_voltage, }; -struct gpio_regulator_config * +static struct gpio_regulator_config * of_get_gpio_regulator_config(struct device *dev, struct device_node *np) { struct gpio_regulator_config *config;