net: mscc: ocelot: refactor adjust_link into a netdev-independent function
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sat, 9 Nov 2019 13:02:59 +0000 (15:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Nov 2019 20:59:10 +0000 (12:59 -0800)
commit26f4dbab7de240f697cbe4d46dfc37b8a7e58d70
tree2f9a5508ec057939275b8b5e08daf9c270fdee22
parent2b120dded260adc5c6fb4600cd383b2c7f3537e8
net: mscc: ocelot: refactor adjust_link into a netdev-independent function

This will be called from the Felix DSA frontend, which will work in
PHYLIB compatibility mode initially.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot.c