summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-plat.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/xhci-plat.c')
-rw-r--r--drivers/usb/host/xhci-plat.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
index 4fcb3418e7a7..9bdf016d9080 100644
--- a/drivers/usb/host/xhci-plat.c
+++ b/drivers/usb/host/xhci-plat.c
@@ -73,10 +73,7 @@ static int xhci_plat_setup(struct usb_hcd *hcd)
}
if (xhci_plat_type_is(hcd, XHCI_PLAT_TYPE_MARVELL_ARMADA)) {
- struct platform_device *pdev;
-
- pdev = to_platform_device(hcd->self.controller);
- ret = xhci_mvebu_mbus_init_quirk(pdev);
+ ret = xhci_mvebu_mbus_init_quirk(hcd);
if (ret)
return ret;
}