Skip to contentSkip to conversation

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

PATCH New John Otken 1 participant 1 message Jul 20, 2005

Subsystems (2)
lore
Share & tools
lore

John Otken

author
#0 lore raw

PATCH 1/1 USBcore: fix invalid function name usb_hcd_put in ohci-ppc-soc.c

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.

drivers/usb/host/ohci-ppc-soc.c +0 -0
diff -up a/drivers/usb/host/ohci-ppc-soc.c b/drivers/usb/host/ohci-ppc-soc.c
@@ -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