]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
gpio: tegra: Staticize non-exported symbols
authorAxel Lin <axel.lin@ingics.com>
Thu, 8 Nov 2012 02:45:24 +0000 (10:45 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 8 Nov 2012 21:33:58 +0000 (22:33 +0100)
Both tegra_gpio_request() and tegra_gpio_free() are not referenced outside of
this file, make them static.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tegra.c

index da32754fb25b4c535bd798f6fb84dad0450a6f2e..5ad4ceb14daacf634ee9aa82f83417110869a11a 100644 (file)
@@ -118,12 +118,12 @@ static void tegra_gpio_disable(int gpio)
 }
 EXPORT_SYMBOL_GPL(tegra_gpio_disable);
 
-int tegra_gpio_request(struct gpio_chip *chip, unsigned offset)
+static int tegra_gpio_request(struct gpio_chip *chip, unsigned offset)
 {
        return pinctrl_request_gpio(offset);
 }
 
-void tegra_gpio_free(struct gpio_chip *chip, unsigned offset)
+static void tegra_gpio_free(struct gpio_chip *chip, unsigned offset)
 {
        pinctrl_free_gpio(offset);
        tegra_gpio_disable(offset);