lkml.org 
[lkml]   [2012]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/8] ARM: tegra: export tegra_gpio_{en,dis}able
Date
On Thu,  1 Mar 2012 14:26:43 -0500, Alan Ott <alan@signal11.us> wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> 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>

Acked-by: Grant Likely <grant.likely@secretlab.ca>

> ---
> 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 bdc2937..96662cc 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)
> {
> --
> 1.7.0.4
>

--
email sent from notmuch.vim plugin


\
 
 \ /
  Last update: 2012-03-02 10:35    [W:1.820 / U:2.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site