Re: [PATCH] net: phy: make exported variables non-static
From: David Miller
Date: Fri Jul 12 2019 - 18:26:46 EST
From: Denis Efremov <efremov@xxxxxxxxx>
Date: Wed, 10 Jul 2019 21:03:24 +0300
> 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: 3c1bcc8614db ("net: ethernet: Convert phydev advertize and supported from u32 to link mode")
> Signed-off-by: Denis Efremov <efremov@xxxxxxxxx>