summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrey Volkov2005-11-17 17:05:35 +0100
committerRussell King2005-11-17 17:05:35 +0100
commit20913a9f6e3ae9a7facf96c7b1299e3875a895a0 (patch)
tree1c6c3a9fa7488ed29ab1c8cb98bac036ee1625ab /drivers
parent[DRIVER MODEL] Fix merge clashes with ARM ixp2000 / ixp4xx platforms (diff)
downloadkernel-qcow2-linux-20913a9f6e3ae9a7facf96c7b1299e3875a895a0.tar.gz
kernel-qcow2-linux-20913a9f6e3ae9a7facf96c7b1299e3875a895a0.tar.xz
kernel-qcow2-linux-20913a9f6e3ae9a7facf96c7b1299e3875a895a0.zip
[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 <avolkov@varma-el.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/host/ohci-ppc-soc.c2
1 files changed, 1 insertions, 1 deletions
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;