summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/fman/mac.h
diff options
context:
space:
mode:
authorMadalin Bucur <madalin.bucur@nxp.com>2017-10-16 21:36:07 +0300
committerDavid S. Miller <davem@davemloft.net>2017-10-18 13:44:47 +0100
commitc6e26ea8c893687a83c9feda7ab4f89205e19726 (patch)
tree4bb17f00b6aad53c7259c1a56d22cbe9e42b36e5 /drivers/net/ethernet/freescale/fman/mac.h
parent3c38ec67867c0a3fe9eeda68a3d2a945d5d09a24 (diff)
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>
Diffstat (limited to 'drivers/net/ethernet/freescale/fman/mac.h')
-rw-r--r--drivers/net/ethernet/freescale/fman/mac.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fman/mac.h b/drivers/net/ethernet/freescale/fman/mac.h
index 1ca85a18ab38..eefb3357e304 100644
--- a/drivers/net/ethernet/freescale/fman/mac.h
+++ b/drivers/net/ethernet/freescale/fman/mac.h
@@ -83,7 +83,6 @@ struct mac_device {
};
struct dpaa_eth_data {
- struct device_node *mac_node;
struct mac_device *mac_dev;
int mac_hw_id;
int fman_hw_id;