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>
This commit is contained in:

committed by
David S. Miller

parent
3c38ec6786
commit
c6e26ea8c8
@@ -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;
|
||||
|
Reference in New Issue
Block a user