]> git.ipfire.org Git - thirdparty/linux.git/commit
net: phy: move definition of genphy_c45_driver to phy_device.c
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 10 Jun 2025 21:34:53 +0000 (23:34 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 13 Jun 2025 01:23:08 +0000 (18:23 -0700)
commit00ee2537255e25a14360288dbd94ff62c0db497d
tree3927e94e18a423ae72d5d04229b10ee65ebbbaf8
parent94a8e4a8185f5f216e5b8ad3323cd190b73dccf2
net: phy: move definition of genphy_c45_driver to phy_device.c

genphy_c45_read_status() is exported, so we can move definition of
genphy_c45_driver to phy_device.c and make it static. This helps
to clean up phy.h a little.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/ead3ab17-22d0-4cd3-901c-3d493ab851e6@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phy-c45.c
drivers/net/phy/phy_device.c
include/linux/phy.h