Commit 5567e989 authored by Madalin Bucur's avatar Madalin Bucur Committed by David S. Miller

fsl/fman: propagate dma_ops

Make sure dma_ops are set, to be later used by the Ethernet driver.
Signed-off-by: default avatarMadalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fe420d87
...@@ -623,6 +623,8 @@ static struct platform_device *dpaa_eth_add_device(int fman_id, ...@@ -623,6 +623,8 @@ static struct platform_device *dpaa_eth_add_device(int fman_id,
goto no_mem; goto no_mem;
} }
set_dma_ops(&pdev->dev, get_dma_ops(priv->dev));
ret = platform_device_add_data(pdev, &data, sizeof(data)); ret = platform_device_add_data(pdev, &data, sizeof(data));
if (ret) if (ret)
goto err; goto err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment