Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -107,11 +107,13 @@ void tegra_gpio_enable(int gpio)
{
	tegra_gpio_mask_write(GPIO_MSK_CNF(gpio), gpio, 1);
}
EXPORT_SYMBOL_GPL(tegra_gpio_enable);

void tegra_gpio_disable(int gpio)
{
	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)
{