diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-06-02 16:58:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-05 13:26:02 +0300 |
commit | 4739b9f3d211b3c4ce9353fbfd9f22e2bcb64c17 (patch) | |
tree | 2111fea21310505c08bd55800966dc1d58f436b2 /drivers | |
parent | bf9a17b04c85345df6e53e4058a56513f41265cf (diff) | |
download | linux-4739b9f3d211b3c4ce9353fbfd9f22e2bcb64c17.tar.xz |
net: pcs: xpcs: remove xpcs_create() from public view
There are now no callers of xpcs_create(), so let's remove it from
public view to discourage future direct usage.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/pcs/pcs-xpcs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/pcs/pcs-xpcs.c b/drivers/net/pcs/pcs-xpcs.c index 1ba214429e01..23223f0f8cad 100644 --- a/drivers/net/pcs/pcs-xpcs.c +++ b/drivers/net/pcs/pcs-xpcs.c @@ -1224,8 +1224,8 @@ static const struct phylink_pcs_ops xpcs_phylink_ops = { .pcs_link_up = xpcs_link_up, }; -struct dw_xpcs *xpcs_create(struct mdio_device *mdiodev, - phy_interface_t interface) +static struct dw_xpcs *xpcs_create(struct mdio_device *mdiodev, + phy_interface_t interface) { struct dw_xpcs *xpcs; u32 xpcs_id; @@ -1273,7 +1273,6 @@ out: return ERR_PTR(ret); } -EXPORT_SYMBOL_GPL(xpcs_create); void xpcs_destroy(struct dw_xpcs *xpcs) { |