]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: mscc: ocelot: expose generic phylink_mac_config routine
authorColin Foster <colin.foster@in-advantage.com>
Fri, 17 Mar 2023 18:54:10 +0000 (11:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Mar 2023 09:08:48 +0000 (09:08 +0000)
commit69f7f89c0db52c5a3fe1bc9ba69d8248b5ee0bca
tree7d1a3995b5245b3b847bf95650b0f45d75e51fb3
parentfec53f44945877c8627da4d3ad70e3ac7e204f38
net: mscc: ocelot: expose generic phylink_mac_config routine

The ocelot-switch driver can utilize the phylink_mac_config routine. Move
this to the ocelot library location and export the symbol to make this
possible.

Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot.c
drivers/net/ethernet/mscc/ocelot_net.c
include/soc/mscc/ocelot.h