diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-03-02 17:32:24 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-03-12 13:42:49 -0400 |
commit | 691e06c0ff2cd0cfe79db5c52baac4fe18ca55af (patch) | |
tree | f1024d1dfd932ccaaffaa9a9a12f5dd77dde70e4 /drivers/gpio | |
parent | 7535b8bef067b71070ed5bdcf3606402f1e99618 (diff) |
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: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alan Ott <alan@signal11.us>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-tegra.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c index bdc293791590..96662cc05ff9 100644 --- a/drivers/gpio/gpio-tegra.c +++ b/drivers/gpio/gpio-tegra.c | |||
@@ -107,11 +107,13 @@ void tegra_gpio_enable(int gpio) | |||
107 | { | 107 | { |
108 | tegra_gpio_mask_write(GPIO_MSK_CNF(gpio), gpio, 1); | 108 | tegra_gpio_mask_write(GPIO_MSK_CNF(gpio), gpio, 1); |
109 | } | 109 | } |
110 | EXPORT_SYMBOL_GPL(tegra_gpio_enable); | ||
110 | 111 | ||
111 | void tegra_gpio_disable(int gpio) | 112 | void tegra_gpio_disable(int gpio) |
112 | { | 113 | { |
113 | tegra_gpio_mask_write(GPIO_MSK_CNF(gpio), gpio, 0); | 114 | tegra_gpio_mask_write(GPIO_MSK_CNF(gpio), gpio, 0); |
114 | } | 115 | } |
116 | EXPORT_SYMBOL_GPL(tegra_gpio_disable); | ||
115 | 117 | ||
116 | static void tegra_gpio_set(struct gpio_chip *chip, unsigned offset, int value) | 118 | static void tegra_gpio_set(struct gpio_chip *chip, unsigned offset, int value) |
117 | { | 119 | { |