]> git.baikalelectronics.ru Git - kernel.git/commit
net: mscc: ocelot: separate the common implementation of ndo_open and ndo_stop
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sat, 9 Nov 2019 13:02:57 +0000 (15:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Nov 2019 20:59:10 +0000 (12:59 -0800)
commit3a569a51bbc76d9b19b5e76abcf735a62a9ddf70
treedadbe8985614c9b4fc915a5f41caafcbd87bbf1d
parent1afc6eb708ecec11e3c49653e5fc5dd7703a003c
net: mscc: ocelot: separate the common implementation of ndo_open and ndo_stop

Allow these functions to be called from the .port_enable and
.port_disable callbacks of DSA.

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