aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy_device.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2020-07-07 03:49:36 +0200
committerDavid S. Miller <davem@davemloft.net>2020-07-07 12:47:10 -0700
commit4f2b38e3ea4a64ea23e313a78d9974ca6b5d7703 (patch)
tree9c7a4f9fd20a7a2c5cb34e04d3403ac5b69f15fe /drivers/net/phy/phy_device.c
parentnet: phy: Properly define genphy_c45_driver (diff)
downloadlinux-dev-4f2b38e3ea4a64ea23e313a78d9974ca6b5d7703.tar.xz
linux-dev-4f2b38e3ea4a64ea23e313a78d9974ca6b5d7703.zip
net: phy: Make phy_10gbit_fec_features_array static
This array is not used outside of phy_device.c, so make it static. Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
-rw-r--r--drivers/net/phy/phy_device.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c
index 98be28567c65..cf3505e2f587 100644
--- a/drivers/net/phy/phy_device.c
+++ b/drivers/net/phy/phy_device.c
@@ -106,10 +106,9 @@ const int phy_10gbit_features_array[1] = {
};
EXPORT_SYMBOL_GPL(phy_10gbit_features_array);
-const int phy_10gbit_fec_features_array[1] = {
+static const int phy_10gbit_fec_features_array[1] = {
ETHTOOL_LINK_MODE_10000baseR_FEC_BIT,
};
-EXPORT_SYMBOL_GPL(phy_10gbit_fec_features_array);
__ETHTOOL_DECLARE_LINK_MODE_MASK(phy_10gbit_full_features) __ro_after_init;
EXPORT_SYMBOL_GPL(phy_10gbit_full_features);