aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-11-07 21:47:02 -0500
committerLinus Walleij <linus.walleij@linaro.org>2012-11-08 16:35:31 -0500
commit65b6ca466748a8e0a906e40a470e1582bc565d79 (patch)
tree7eaa89d71156b24b97055633ff4e06a3c8bbfe4f /drivers/gpio
parent924a09873c658a23e416258c6f81348cba2cfe87 (diff)
gpio: tegra: Drop exporting static functions
Both tegra_gpio_enable() and tegra_gpio_disable() are static functions, it does not make sense to export them. 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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-tegra.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c
index 5ad4ceb14daa..cfd9b723002b 100644
--- a/drivers/gpio/gpio-tegra.c
+++ b/drivers/gpio/gpio-tegra.c
@@ -110,13 +110,11 @@ static void tegra_gpio_enable(int gpio)
110{ 110{
111 tegra_gpio_mask_write(GPIO_MSK_CNF(gpio), gpio, 1); 111 tegra_gpio_mask_write(GPIO_MSK_CNF(gpio), gpio, 1);
112} 112}
113EXPORT_SYMBOL_GPL(tegra_gpio_enable);
114 113
115static void tegra_gpio_disable(int gpio) 114static void tegra_gpio_disable(int gpio)
116{ 115{
117 tegra_gpio_mask_write(GPIO_MSK_CNF(gpio), gpio, 0); 116 tegra_gpio_mask_write(GPIO_MSK_CNF(gpio), gpio, 0);
118} 117}
119EXPORT_SYMBOL_GPL(tegra_gpio_disable);
120 118
121static int tegra_gpio_request(struct gpio_chip *chip, unsigned offset) 119static int tegra_gpio_request(struct gpio_chip *chip, unsigned offset)
122{ 120{