diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2021-05-21 16:25:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-21 14:05:04 -0700 |
commit | b193f2ed533f6ddffe947327dcf2e76d8beb72a4 (patch) | |
tree | fb9fd3626798355b46b8c472a54dff36a90c3211 /drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c | |
parent | f07b300c815757b0aabb3a0520249df4a879b416 (diff) |
dpaa2-eth: setup the of_node field of the device
When the DPNI object is connected to a DPMAC, setup the of_node to point
to the DTS device node of that specific MAC. This enables other drivers,
for example the DSA subsystem, to find the net_device by its device
node.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c')
0 files changed, 0 insertions, 0 deletions