[PATCH] USBcore: fix invalid function name usb_hcd_put in ohci-ppc-soc.c

John Otken jotken at softadvances.com
Wed Jul 20 20:46:57 EST 2005


This patch corrects an invalid function name in 
drivers/usb/host/ohci-ppc-soc.c.  The correct 
function name is usb_put_hcd() not usb_hcd_put().

This patch works against 2.6.12 or 2.6.13.

Signed-off-by: John Otken <jotken at softadvances.com>

diff -up a/drivers/usb/host/ohci-ppc-soc.c b/drivers/usb/host/ohci-ppc-soc.c
--- a/drivers/usb/host/ohci-ppc-soc.c	2005-07-14 09:48:19.000000000 -0500
+++ b/drivers/usb/host/ohci-ppc-soc.c	2005-06-19 10:18:05.000000000 -0500
@@ -123,7 +123,7 @@ static void usb_hcd_ppc_soc_remove(struc
 
 	iounmap(hcd->regs);
 	release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
-	usb_hcd_put(hcd);
+	usb_put_hcd(hcd);
 }
 
 static int __devinit





More information about the Linuxppc-embedded mailing list