summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2021-05-21 16:25:29 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-21 14:05:04 -0700
commitb193f2ed533f6ddffe947327dcf2e76d8beb72a4 (patch)
treefb9fd3626798355b46b8c472a54dff36a90c3211 /drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c
parentf07b300c815757b0aabb3a0520249df4a879b416 (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