• Florian Fainelli's avatar
    net: phy: Fix modular PHYLIB build · 9e8d438e
    Florian Fainelli authored
    After commit c59530d0 ("net: Move PHY statistics code into PHY
    library helpers") we made net/core/ethtool.c reference symbols which are
    part of the library which can be modular. David introduced a temporary
    fix with 1ecd6e8a ("phy: Temporary build fix after phylib changes.")
    which would prevent such modularity.
    
    This is not desireable of course, so instead, just inline the functions
    into include/linux/phy.h to keep both options available.
    
    Fixes: c59530d0 ("net: Move PHY statistics code into PHY library helpers")
    Fixes: 1ecd6e8a ("phy: Temporary build fix after phylib changes.")
    Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    9e8d438e
Kconfig 11.1 KB