Skip to contentSkip to conversation

usb: musb: fix build break due to partial rename

PATCH In review Anand Gadiyar 4 participants 4 messages Oct 1, 2010 – Oct 5, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: musb: fix build break due to partial rename

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.

Cc Uwe Kleine-Koenig<[email protected]>
Cc Michal Nazarewicz <[email protected]>
Cc Felipe Balbi <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>

---
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(-)
drivers/usb/musb/musb_gadget.c +1 -1
Index: 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Anand

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.

Quoted 7 lines

Fix this.

Cc Uwe Kleine-Koenig<[email protected]>
Cc Michal Nazarewicz <[email protected]>
Cc Felipe Balbi <[email protected]>

wow, good catch :-)

Quoted 6 lines
Cc Greg Kroah-Hartman <[email protected]>

---
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.

Signature · 1 line
balbi
Acked-by on v1 1/1
#2 lore raw
In reply to Anand Gadiyar
Quoted 5 lines · Anand Gadiyar

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.

Quoted 8 lines

Fix this.

Cc Uwe Kleine-Koenig<[email protected]>
Cc Michal Nazarewicz <[email protected]>
Cc Felipe Balbi <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Quoted 23 lines

---
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
===================================================================

drivers/usb/musb/musb_gadget.c +1 -1
@@ -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)
 {
Signature · 6 lines
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw
In reply to Anand Gadiyar
Quoted 13 lines · Anand Gadiyar

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.

Cc Uwe Kleine-Koenig<[email protected]>
Cc Michal Nazarewicz <[email protected]>
Cc Felipe Balbi <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Quoted 5 lines

---
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