aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/sfp.h
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2022-04-27 23:44:05 +0200
committerJakub Kicinski <kuba@kernel.org>2022-04-29 16:37:53 -0700
commit31d00ca4ce0e1abf5342854606bbe7d20e38c3f8 (patch)
tree652c8e17645bbfe0e7dfdb77059c60d4b00c7b8f /drivers/net/phy/sfp.h
parentdt-bindings: net: micrel: add coma-mode-gpios property (diff)
downloadlinux-dev-31d00ca4ce0e1abf5342854606bbe7d20e38c3f8.tar.xz
linux-dev-31d00ca4ce0e1abf5342854606bbe7d20e38c3f8.zip
net: phy: micrel: move the PHY timestamping check
Both lan8814_ptp_init() and lan8814_ptp_probe_once() are only used if PTP and PHY timestamping is enabed. Up until now the probe function just returns early, if they are not needed. But we need the phy_package_init_once() functionality for the coma mode GPIO setup. Move the check into the functions itself. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy/sfp.h')
0 files changed, 0 insertions, 0 deletions