mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02: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:
committed by
Jakub Kicinski
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,
|
.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;
|
struct lynx_pcs *lynx;
|
||||||
|
|
||||||
@@ -322,7 +322,6 @@ struct phylink_pcs *lynx_pcs_create(struct mdio_device *mdio)
|
|||||||
|
|
||||||
return lynx_to_phylink_pcs(lynx);
|
return lynx_to_phylink_pcs(lynx);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(lynx_pcs_create);
|
|
||||||
|
|
||||||
struct phylink_pcs *lynx_pcs_create_mdiodev(struct mii_bus *bus, int addr)
|
struct phylink_pcs *lynx_pcs_create_mdiodev(struct mii_bus *bus, int addr)
|
||||||
{
|
{
|
||||||
|
@@ -9,7 +9,6 @@
|
|||||||
#include <linux/mdio.h>
|
#include <linux/mdio.h>
|
||||||
#include <linux/phylink.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_mdiodev(struct mii_bus *bus, int addr);
|
||||||
struct phylink_pcs *lynx_pcs_create_fwnode(struct fwnode_handle *node);
|
struct phylink_pcs *lynx_pcs_create_fwnode(struct fwnode_handle *node);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user