mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 05:32:00 +00:00
net: pcs: lynx: make lynx_pcs_create() static
We no longer need to export lynx_pcs_create() for drivers to use as we now have all the functionality we need in the two new creation helpers. Remove the export and prototype, and make it static. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
929a629c21
commit
84e476b876
@ -307,7 +307,7 @@ static const struct phylink_pcs_ops lynx_pcs_phylink_ops = {
|
||||
.pcs_link_up = lynx_pcs_link_up,
|
||||
};
|
||||
|
||||
struct phylink_pcs *lynx_pcs_create(struct mdio_device *mdio)
|
||||
static struct phylink_pcs *lynx_pcs_create(struct mdio_device *mdio)
|
||||
{
|
||||
struct lynx_pcs *lynx;
|
||||
|
||||
@ -322,7 +322,6 @@ struct phylink_pcs *lynx_pcs_create(struct mdio_device *mdio)
|
||||
|
||||
return lynx_to_phylink_pcs(lynx);
|
||||
}
|
||||
EXPORT_SYMBOL(lynx_pcs_create);
|
||||
|
||||
struct phylink_pcs *lynx_pcs_create_mdiodev(struct mii_bus *bus, int addr)
|
||||
{
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include <linux/mdio.h>
|
||||
#include <linux/phylink.h>
|
||||
|
||||
struct phylink_pcs *lynx_pcs_create(struct mdio_device *mdio);
|
||||
struct phylink_pcs *lynx_pcs_create_mdiodev(struct mii_bus *bus, int addr);
|
||||
struct phylink_pcs *lynx_pcs_create_fwnode(struct fwnode_handle *node);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user