From: Arnd Bergmann Date: Mon, 13 Mar 2017 02:18:43 +0000 (+0800) Subject: usb: ehci: fsl: use bus->sysdev for DMA configuration X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8123e4953fe6c1d3303d23eefe5e41d2934e2a06;p=openwrt%2Fstaging%2Fblogic.git usb: ehci: fsl: use bus->sysdev for DMA configuration For the dual role ehci fsl driver, sysdev will handle the dma config. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash Signed-off-by: Mathias Nyman Signed-off-by: Peter Chen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index 3733aab46efe..4a08b70c81aa 100644 --- a/drivers/usb/host/ehci-fsl.c +++ b/drivers/usb/host/ehci-fsl.c @@ -96,8 +96,8 @@ static int fsl_ehci_drv_probe(struct platform_device *pdev) } irq = res->start; - hcd = usb_create_hcd(&fsl_ehci_hc_driver, &pdev->dev, - dev_name(&pdev->dev)); + hcd = __usb_create_hcd(&fsl_ehci_hc_driver, pdev->dev.parent, + &pdev->dev, dev_name(&pdev->dev), NULL); if (!hcd) { retval = -ENOMEM; goto err1;