Fix an error in the OHCI lh7a404 driver after the platform device
conversion.

Signed-off-by: Richard Purdie <[EMAIL PROTECTED]>

Index: linux-2.6.15-rc1/drivers/usb/host/ohci-lh7a404.c
===================================================================
--- linux-2.6.15-rc1.orig/drivers/usb/host/ohci-lh7a404.c       2005-11-12 
01:43:36.000000000 +0000
+++ linux-2.6.15-rc1/drivers/usb/host/ohci-lh7a404.c    2005-11-14 
17:41:14.000000000 +0000
@@ -219,7 +219,7 @@
 
 static int ohci_hcd_lh7a404_drv_remove(struct platform_device *pdev)
 {
-       struct usb_hcd *hcd = platform_get_drvdata(dev);
+       struct usb_hcd *hcd = platform_get_drvdata(pdev);
 
        usb_hcd_lh7a404_remove(hcd, pdev);
        return 0;




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to