From: Arnd Bergmann Date: Fri, 2 Mar 2012 22:32:24 +0000 (-0500) Subject: ARM: tegra: export tegra_gpio_{en,dis}able X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=691e06c0ff2cd0cfe79db5c52baac4fe18ca55af;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Signed-off-by: Alan Ott Acked-by: Olof Johansson Signed-off-by: Grant Likely --- 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) { 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) {