Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -623,6 +623,8 @@ static struct platform_device *dpaa_eth_add_device(int fman_id,
		goto no_mem;
	}

	set_dma_ops(&pdev->dev, get_dma_ops(priv->dev));

	ret = platform_device_add_data(pdev, &data, sizeof(data));
	if (ret)
		goto err;