Commit 691e06c0 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Grant Likely

ARM: tegra: export tegra_gpio_{en,dis}able

These two functions are used in drivers that can be
modules, so they need to be exported.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarAlan Ott <alan@signal11.us>
Acked-by: default avatarOlof Johansson <olof@lixom.net>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 7535b8be
...@@ -107,11 +107,13 @@ void tegra_gpio_enable(int gpio) ...@@ -107,11 +107,13 @@ void tegra_gpio_enable(int gpio)
{ {
tegra_gpio_mask_write(GPIO_MSK_CNF(gpio), gpio, 1); tegra_gpio_mask_write(GPIO_MSK_CNF(gpio), gpio, 1);
} }
EXPORT_SYMBOL_GPL(tegra_gpio_enable);
void tegra_gpio_disable(int gpio) void tegra_gpio_disable(int gpio)
{ {
tegra_gpio_mask_write(GPIO_MSK_CNF(gpio), gpio, 0); tegra_gpio_mask_write(GPIO_MSK_CNF(gpio), gpio, 0);
} }
EXPORT_SYMBOL_GPL(tegra_gpio_disable);
static void tegra_gpio_set(struct gpio_chip *chip, unsigned offset, int value) static void tegra_gpio_set(struct gpio_chip *chip, unsigned offset, int value)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment