net: dsa: seville: duplicate vsc9959_mdio_bus_free

While we don't plan on making any changes to this function, currently
this is the only remaining dependency between felix and seville, after
the PCS has been refactored out into pcs-lynx.c.

Duplicate this function in seville to break the dependency completely.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Vladimir Oltean
2020-09-18 13:57:50 +03:00
committed by David S. Miller
parent f8320ec14d
commit ccfdbab568
3 changed files with 19 additions and 4 deletions

View File

@@ -55,6 +55,4 @@ struct felix {
resource_size_t imdio_base;
};
void vsc9959_mdio_bus_free(struct ocelot *ocelot);
#endif