diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-11-08 10:45:24 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-11-08 22:33:58 +0100 |
commit | 924a09873c658a23e416258c6f81348cba2cfe87 (patch) | |
tree | 27ac6053f94842f174b2066e601ec1a75500a790 | |
parent | 8939ddc76a2f3399be98a60246ae0b365442f008 (diff) | |
download | blackbird-obmc-linux-924a09873c658a23e416258c6f81348cba2cfe87.tar.gz blackbird-obmc-linux-924a09873c658a23e416258c6f81348cba2cfe87.zip |
gpio: tegra: Staticize non-exported symbols
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>
-rw-r--r-- | drivers/gpio/gpio-tegra.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c index da32754fb25b..5ad4ceb14daa 100644 --- a/drivers/gpio/gpio-tegra.c +++ b/drivers/gpio/gpio-tegra.c @@ -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); |