]> www.infradead.org Git - users/hch/misc.git/commit
net: phylink: provide phylink_mac_implements_lpi()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 10 Feb 2025 10:36:44 +0000 (10:36 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 13 Feb 2025 02:20:04 +0000 (18:20 -0800)
commit2001d21592e5eb531d23950223eedad55c987db8
tree42a6d05ac0f56abd158273cedf7d4ded68f82da5
parent2f4720318d02b3879e858e373826aa0b63a55e5a
net: phylink: provide phylink_mac_implements_lpi()

Provide a helper to determine whether the MAC operations structure
implements the LPI operations, which will be used by both phylink and
DSA.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1thR9g-003vX6-4s@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phylink.c
include/linux/phylink.h