Re: [PATCH] gpiolib: export gpiochip_find

From: Jean Delvare
Date: Fri May 13 2011 - 04:54:12 EST


Hi Grant,

On Sat, 16 Apr 2011 09:30:15 +0200, Jean Delvare wrote:
> Export function gpiochip_find so that modules can use it.
>
> Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>
> Cc: Grant Likely <grant.likely@xxxxxxxxxxxx>
> ---
> I need this to add support for SMBus multiplexing on my Asus Z8NA-D6
> board.
>
> drivers/gpio/gpiolib.c | 1 +
> 1 file changed, 1 insertion(+)
>
> --- linux-2.6.39-rc3.orig/drivers/gpio/gpiolib.c 2011-03-30 10:57:19.000000000 +0200
> +++ linux-2.6.39-rc3/drivers/gpio/gpiolib.c 2011-04-16 09:00:25.000000000 +0200
> @@ -1165,6 +1165,7 @@ struct gpio_chip *gpiochip_find(void *da
>
> return chip;
> }
> +EXPORT_SYMBOL_GPL(gpiochip_find);
>
> /* These "optional" allocation calls help prevent drivers from stomping
> * on each other, and help provide better diagnostics in debugfs.

I am sorry to insist, but this patch seems quite straightforward, it
shouldn't take long to review. Do you have any problem with it? If not,
please apply it. I really would like to have it in kernel 2.6.40, as
the rest of my SMBus multiplexing support effort depends on it.

Thanks,
--
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/