dpaa_eth: change device used
commitc6e26ea8c893687a83c9feda7ab4f89205e19726
authorMadalin Bucur <madalin.bucur@nxp.com>
Mon, 16 Oct 2017 18:36:07 +0000 (16 21:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Oct 2017 12:44:47 +0000 (18 13:44 +0100)
tree4bb17f00b6aad53c7259c1a56d22cbe9e42b36e5
parent3c38ec67867c0a3fe9eeda68a3d2a945d5d09a24
dpaa_eth: change device used

Change device used for DMA mapping to the MAC device that is an
of_device, with proper DMA ops. Using this device for the netdevice
should also address the issue with DSA scenarios that need the
netdevice to be backed by an of_device.

Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
drivers/net/ethernet/freescale/fman/mac.c
drivers/net/ethernet/freescale/fman/mac.h