summaryrefslogtreecommitdiff
path: root/net/dsa/master.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2018-04-25 22:12:51 +0300
committerDavid S. Miller <davem@davemloft.net>2018-04-27 18:53:03 +0300
commit6207a78c098a183df1620c1e2cbf620a4cc7c3e3 (patch)
tree356ad8023c0b4a18cc7a895267711fdf620472a3 /net/dsa/master.c
parent89f09048348936a9a8c5131c8538cc6ed26fd44c (diff)
downloadlinux-6207a78c098a183df1620c1e2cbf620a4cc7c3e3.tar.xz
net: dsa: Add helper function to obtain PHY device of a given port
In preparation for having more call sites attempting to obtain a reference against a PHY device corresponding to a particular port, introduce a helper function for that purpose. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/master.c')
0 files changed, 0 insertions, 0 deletions