summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-11-08 10:47:02 +0800
committerLinus Walleij <linus.walleij@linaro.org>2012-11-08 22:35:31 +0100
commit65b6ca466748a8e0a906e40a470e1582bc565d79 (patch)
tree7eaa89d71156b24b97055633ff4e06a3c8bbfe4f
parent924a09873c658a23e416258c6f81348cba2cfe87 (diff)
downloadop-kernel-dev-65b6ca466748a8e0a906e40a470e1582bc565d79.zip
op-kernel-dev-65b6ca466748a8e0a906e40a470e1582bc565d79.tar.gz
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>
-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 5ad4ceb..cfd9b72 100644
--- a/drivers/gpio/gpio-tegra.c
+++ b/drivers/gpio/gpio-tegra.c
@@ -110,13 +110,11 @@ static void tegra_gpio_enable(int gpio)
{
tegra_gpio_mask_write(GPIO_MSK_CNF(gpio), gpio, 1);
}
-EXPORT_SYMBOL_GPL(tegra_gpio_enable);
static void tegra_gpio_disable(int gpio)
{
tegra_gpio_mask_write(GPIO_MSK_CNF(gpio), gpio, 0);
}
-EXPORT_SYMBOL_GPL(tegra_gpio_disable);
static int tegra_gpio_request(struct gpio_chip *chip, unsigned offset)
{
OpenPOWER on IntegriCloud