Skip to content
Commit 54638c6e authored by Denis Efremov's avatar Denis Efremov Committed by David S. Miller
Browse files

net: phy: make exported variables non-static

The variables phy_basic_ports_array, phy_fibre_port_array and
phy_all_ports_features_array are declared static and marked
EXPORT_SYMBOL_GPL(), which is at best an odd combination.
Because the variables were decided to be a part of API, this commit
removes the static attributes and adds the declarations to the header.

Fixes: 3c1bcc86

 ("net: ethernet: Convert phydev advertize and supported from u32 to link mode")
Signed-off-by: default avatarDenis Efremov <efremov@linux.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c1a970d0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment