[PATCH v4 3/6] usb: ehci: fsl: use bus->sysdev for DMA configuration
From: Arnd BergmannFor the dual role ehci fsl driver, sysdev will handle the dma config. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash --- Changes in v4: - No update Changes in v3: - fix compile errors Changes in v2: - fix compile warnings drivers/usb/host/ehci-fsl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index 9f5ffb6..4d4ab42 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(_ehci_hc_driver, >dev, - dev_name(>dev)); + hcd = __usb_create_hcd(_ehci_hc_driver, pdev->dev.parent, + >dev, dev_name(>dev), NULL); if (!hcd) { retval = -ENOMEM; goto err1; -- 2.1.0
[PATCH v4 3/6] usb: ehci: fsl: use bus->sysdev for DMA configuration
From: Arnd Bergmann For the dual role ehci fsl driver, sysdev will handle the dma config. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash --- Changes in v4: - No update Changes in v3: - fix compile errors Changes in v2: - fix compile warnings drivers/usb/host/ehci-fsl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index 9f5ffb6..4d4ab42 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(_ehci_hc_driver, >dev, - dev_name(>dev)); + hcd = __usb_create_hcd(_ehci_hc_driver, pdev->dev.parent, + >dev, dev_name(>dev), NULL); if (!hcd) { retval = -ENOMEM; goto err1; -- 2.1.0