The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] gpiolib: export gpiochip_find
@ 2011-04-16  7:30 Jean Delvare
  2011-04-20 12:52 ` Jean Delvare
  2011-05-13  8:52 ` Jean Delvare
  0 siblings, 2 replies; 5+ messages in thread
From: Jean Delvare @ 2011-04-16  7:30 UTC (permalink / raw)
  To: Grant Likely; +Cc: LKML

Export function gpiochip_find so that modules can use it.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Grant Likely <grant.likely@secretlab.ca>
---
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.


-- 
Jean Delvare

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] gpiolib: export gpiochip_find
  2011-04-16  7:30 [PATCH] gpiolib: export gpiochip_find Jean Delvare
@ 2011-04-20 12:52 ` Jean Delvare
  2011-05-13  8:52 ` Jean Delvare
  1 sibling, 0 replies; 5+ messages in thread
From: Jean Delvare @ 2011-04-20 12:52 UTC (permalink / raw)
  To: Grant Likely; +Cc: LKML

Hi Grant,

On Sat, 16 Apr 2011 09:30:15 +0200, Jean Delvare wrote:
> Export function gpiochip_find so that modules can use it.

Any problem with this patch? If not, the earlier it gets upstream, the
happier I'll be. I think it should even be considered for stable kernel
series.

Thanks.

> Signed-off-by: Jean Delvare <khali@linux-fr.org>
> Cc: Grant Likely <grant.likely@secretlab.ca>
> ---
> 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.
> 

-- 
Jean Delvare

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] gpiolib: export gpiochip_find
  2011-04-16  7:30 [PATCH] gpiolib: export gpiochip_find Jean Delvare
  2011-04-20 12:52 ` Jean Delvare
@ 2011-05-13  8:52 ` Jean Delvare
  2011-05-15 21:35   ` Grant Likely
  1 sibling, 1 reply; 5+ messages in thread
From: Jean Delvare @ 2011-05-13  8:52 UTC (permalink / raw)
  To: Grant Likely; +Cc: LKML, Andrew Morton

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@linux-fr.org>
> Cc: Grant Likely <grant.likely@secretlab.ca>
> ---
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] gpiolib: export gpiochip_find
  2011-05-13  8:52 ` Jean Delvare
@ 2011-05-15 21:35   ` Grant Likely
  2011-05-16  7:34     ` Jean Delvare
  0 siblings, 1 reply; 5+ messages in thread
From: Grant Likely @ 2011-05-15 21:35 UTC (permalink / raw)
  To: Jean Delvare; +Cc: LKML, Andrew Morton

On Fri, May 13, 2011 at 10:52:20AM +0200, Jean Delvare wrote:
> 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@linux-fr.org>
> > Cc: Grant Likely <grant.likely@secretlab.ca>
> > ---
> > 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.

Merged, thanks.

Sorry for the delay.  All the activity around UDS and getting the
ARM device tree patches into a state ready for merging pretty much
eliminated any chance I've had to look at gpio stuff over the last
month.  :-(  I'm trying to get through the backlog now.

g.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] gpiolib: export gpiochip_find
  2011-05-15 21:35   ` Grant Likely
@ 2011-05-16  7:34     ` Jean Delvare
  0 siblings, 0 replies; 5+ messages in thread
From: Jean Delvare @ 2011-05-16  7:34 UTC (permalink / raw)
  To: Grant Likely; +Cc: LKML, Andrew Morton

On Sun, 15 May 2011 15:35:50 -0600, Grant Likely wrote:
> Sorry for the delay.  All the activity around UDS and getting the
> ARM device tree patches into a state ready for merging pretty much
> eliminated any chance I've had to look at gpio stuff over the last
> month.  :-(  I'm trying to get through the backlog now.

I understand, no problem. It's just in time for 2.6.40, as I needed, so
it's OK. Thanks!

-- 
Jean Delvare

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-16  7:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-16  7:30 [PATCH] gpiolib: export gpiochip_find Jean Delvare
2011-04-20 12:52 ` Jean Delvare
2011-05-13  8:52 ` Jean Delvare
2011-05-15 21:35   ` Grant Likely
2011-05-16  7:34     ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox