linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] usb: musb: fix build break due to partial rename
@ 2010-10-01 20:34 Anand Gadiyar
  2010-10-04  6:38 ` Felipe Balbi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Anand Gadiyar @ 2010-10-01 20:34 UTC (permalink / raw)
  To: linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-omap-u79uwXL29TY76Z2rM5mHXA
  Cc: Anand Gadiyar, Uwe Kleine-Koenig, Michal Nazarewicz, Felipe Balbi,
	Greg Kroah-Hartman

Patch "usb gadget: don't save bind callback in struct usb_gadget_driver"
in Greg's USB queue missed one conversion of
usb_gadget_register_driver to usb_gadget_probe_driver,
causing a build break when MUSB is built in gadget mode.

Fix this.

Reported-by: Grazvydas Ignotas <notasas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Signed-off-by: Anand Gadiyar <gadiyar-l0cyMroinI0@public.gmane.org>
Cc: Uwe Kleine-Koenig<u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Cc: Michal Nazarewicz <m.nazarewicz-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
Cc: Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org>
Cc: Greg Kroah-Hartman <gregkh-l3A5Bk7waGM@public.gmane.org>
---
Greg,

Since Uwe's original patch isn't yet in mainline, maybe you could
fold this patch into the original.

 drivers/usb/musb/musb_gadget.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/drivers/usb/musb/musb_gadget.c
===================================================================
--- linux-2.6.orig/drivers/usb/musb/musb_gadget.c
+++ linux-2.6/drivers/usb/musb/musb_gadget.c
@@ -1786,7 +1786,7 @@ int usb_gadget_probe_driver(struct usb_g
 
 	return retval;
 }
-EXPORT_SYMBOL(usb_gadget_register_driver);
+EXPORT_SYMBOL(usb_gadget_probe_driver);
 
 static void stop_activity(struct musb *musb, struct usb_gadget_driver *driver)
 {
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] usb: musb: fix build break due to partial rename
  2010-10-01 20:34 [PATCH] usb: musb: fix build break due to partial rename Anand Gadiyar
@ 2010-10-04  6:38 ` Felipe Balbi
  2010-10-04  6:46 ` Uwe Kleine-König
  2010-10-05 23:00 ` Greg KH
  2 siblings, 0 replies; 4+ messages in thread
From: Felipe Balbi @ 2010-10-04  6:38 UTC (permalink / raw)
  To: Gadiyar, Anand
  Cc: linux-usb@vger.kernel.org, linux-omap@vger.kernel.org,
	Uwe Kleine-Koenig, Michal Nazarewicz, Balbi, Felipe,
	Greg Kroah-Hartman

On Fri, Oct 01, 2010 at 03:34:24PM -0500, Gadiyar, Anand wrote:
>Patch "usb gadget: don't save bind callback in struct usb_gadget_driver"
>in Greg's USB queue missed one conversion of
>usb_gadget_register_driver to usb_gadget_probe_driver,
>causing a build break when MUSB is built in gadget mode.
>
>Fix this.
>
>Reported-by: Grazvydas Ignotas <notasas@gmail.com>
>Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
>Cc: Uwe Kleine-Koenig<u.kleine-koenig@pengutronix.de>
>Cc: Michal Nazarewicz <m.nazarewicz@samsung.com>
>Cc: Felipe Balbi <balbi@ti.com>

wow, good catch :-)

Acked-by: Felipe Balbi <balbi@ti.com>

>Cc: Greg Kroah-Hartman <gregkh@suse.de>
>---
>Greg,
>
>Since Uwe's original patch isn't yet in mainline, maybe you could
>fold this patch into the original.

Fine by me to fold on original patch.

-- 
balbi

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

* Re: [PATCH] usb: musb: fix build break due to partial rename
  2010-10-01 20:34 [PATCH] usb: musb: fix build break due to partial rename Anand Gadiyar
  2010-10-04  6:38 ` Felipe Balbi
@ 2010-10-04  6:46 ` Uwe Kleine-König
  2010-10-05 23:00 ` Greg KH
  2 siblings, 0 replies; 4+ messages in thread
From: Uwe Kleine-König @ 2010-10-04  6:46 UTC (permalink / raw)
  To: Anand Gadiyar
  Cc: linux-usb, linux-omap, Michal Nazarewicz, Felipe Balbi,
	Greg Kroah-Hartman

On Sat, Oct 02, 2010 at 02:04:24AM +0530, Anand Gadiyar wrote:
> Patch "usb gadget: don't save bind callback in struct usb_gadget_driver"
> in Greg's USB queue missed one conversion of
> usb_gadget_register_driver to usb_gadget_probe_driver,
> causing a build break when MUSB is built in gadget mode.
> 
> Fix this.
> 
> Reported-by: Grazvydas Ignotas <notasas@gmail.com>
> Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
> Cc: Uwe Kleine-Koenig<u.kleine-koenig@pengutronix.de>
> Cc: Michal Nazarewicz <m.nazarewicz@samsung.com>
> Cc: Felipe Balbi <balbi@ti.com>
> Cc: Greg Kroah-Hartman <gregkh@suse.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

> ---
> Greg,
> 
> Since Uwe's original patch isn't yet in mainline, maybe you could
> fold this patch into the original.
> 
>  drivers/usb/musb/musb_gadget.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: linux-2.6/drivers/usb/musb/musb_gadget.c
> ===================================================================
> --- linux-2.6.orig/drivers/usb/musb/musb_gadget.c
> +++ linux-2.6/drivers/usb/musb/musb_gadget.c
> @@ -1786,7 +1786,7 @@ int usb_gadget_probe_driver(struct usb_g
>  
>  	return retval;
>  }
> -EXPORT_SYMBOL(usb_gadget_register_driver);
> +EXPORT_SYMBOL(usb_gadget_probe_driver);
>  
>  static void stop_activity(struct musb *musb, struct usb_gadget_driver *driver)
>  {
> 

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] usb: musb: fix build break due to partial rename
  2010-10-01 20:34 [PATCH] usb: musb: fix build break due to partial rename Anand Gadiyar
  2010-10-04  6:38 ` Felipe Balbi
  2010-10-04  6:46 ` Uwe Kleine-König
@ 2010-10-05 23:00 ` Greg KH
  2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2010-10-05 23:00 UTC (permalink / raw)
  To: Anand Gadiyar
  Cc: linux-usb, linux-omap, Uwe Kleine-Koenig, Michal Nazarewicz,
	Felipe Balbi, Greg Kroah-Hartman

On Sat, Oct 02, 2010 at 02:04:24AM +0530, Anand Gadiyar wrote:
> Patch "usb gadget: don't save bind callback in struct usb_gadget_driver"
> in Greg's USB queue missed one conversion of
> usb_gadget_register_driver to usb_gadget_probe_driver,
> causing a build break when MUSB is built in gadget mode.
> 
> Fix this.
> 
> Reported-by: Grazvydas Ignotas <notasas@gmail.com>
> Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
> Cc: Uwe Kleine-Koenig<u.kleine-koenig@pengutronix.de>
> Cc: Michal Nazarewicz <m.nazarewicz@samsung.com>
> Cc: Felipe Balbi <balbi@ti.com>
> Cc: Greg Kroah-Hartman <gregkh@suse.de>
> ---
> Greg,
> 
> Since Uwe's original patch isn't yet in mainline, maybe you could
> fold this patch into the original.

I've folded it into the original, thanks.

greg k-h

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

end of thread, other threads:[~2010-10-05 23:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-01 20:34 [PATCH] usb: musb: fix build break due to partial rename Anand Gadiyar
2010-10-04  6:38 ` Felipe Balbi
2010-10-04  6:46 ` Uwe Kleine-König
2010-10-05 23:00 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).