mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
net: phy: Fix modular PHYLIB build
After commitc59530d0d5("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 with1ecd6e8ad9("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:c59530d0d5("net: Move PHY statistics code into PHY library helpers") Fixes:1ecd6e8ad9("phy: Temporary build fix after phylib changes.") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
af201bab50
commit
9e8d438e8b
3 changed files with 40 additions and 61 deletions
Loading…
Add table
Add a link
Reference in a new issue