From: Andrey Volkov Date: Fri, 18 Nov 2005 09:10:48 +0000 (-0800) Subject: [PATCH] Fix copy-paste bug in ohci-ppc-soc.c X-Git-Tag: v2.6.15-rc2~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2463ade2cb78224302998ee3c7dc7d53da88d258;p=platform%2Fkernel%2Flinux-exynos.git [PATCH] Fix copy-paste bug in ohci-ppc-soc.c Fix copy-paste bug in ohci-ppc-soc.c(ohci_hcd_ppc_soc_drv_remove) Signed-off-by: Andrey Volkov Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/usb/host/ohci-ppc-soc.c b/drivers/usb/host/ohci-ppc-soc.c index 18755766..2ec6a78 100644 --- a/drivers/usb/host/ohci-ppc-soc.c +++ b/drivers/usb/host/ohci-ppc-soc.c @@ -185,7 +185,7 @@ static int ohci_hcd_ppc_soc_drv_probe(struct platform_device *pdev) static int ohci_hcd_ppc_soc_drv_remove(struct platform_device *pdev) { - struct usb_hcd *hcd = platform_get_drvdata(dev); + struct usb_hcd *hcd = platform_get_drvdata(pdev); usb_hcd_ppc_soc_remove(hcd, pdev); return 0;