net: phy: Register ethtool PHY operations
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 6 Jul 2020 04:27:57 +0000 (21:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jul 2020 22:41:04 +0000 (15:41 -0700)
commit55d8f053ce1bb2c010458c6e9883b9c7ac12adc3
tree867b3c8ddc717c0ee8865e44549765f05c0ba15d
parent4895d7808e7030c831f2ef83a3cc6ec0d46c30b1
net: phy: Register ethtool PHY operations

Utilize ethtool_set_ethtool_phy_ops to register a suitable set of PHY
ethtool operations in a dynamic fashion such that ethtool will no longer
directy reference PHY library symbols.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c