|
@@ -219,7 +219,7 @@ static int ohci_hcd_lh7a404_drv_probe(struct platform_device *pdev)
|
|
|
|
|
|
static int ohci_hcd_lh7a404_drv_remove(struct platform_device *pdev)
|
|
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);
|
|
usb_hcd_lh7a404_remove(hcd, pdev);
|
|
return 0;
|
|
return 0;
|