From: Andrey Volkov Date: Thu, 17 Nov 2005 16:05:35 +0000 (+0000) Subject: [DRIVER MODEL] Fix typo in ohci-ppc-soc.c X-Git-Tag: firefly_0821_release~39894^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=20913a9f6e3ae9a7facf96c7b1299e3875a895a0;p=firefly-linux-kernel-4.4.55.git [DRIVER MODEL] Fix typo 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 Signed-off-by: Russell King --- diff --git a/drivers/usb/host/ohci-ppc-soc.c b/drivers/usb/host/ohci-ppc-soc.c index 18755766e406..2ec6a78bd65e 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;