]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: pcs: xpcs: provide a helper to get the phylink pcs given xpcs
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 4 Oct 2024 10:20:56 +0000 (11:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Oct 2024 11:13:11 +0000 (12:13 +0100)
commitf042365a26b07006064c2cfa2293e16cad243b0d
tree93d3ef774d231b91ae3c7e9d38d5c72350ace946
parent4490f5669b067359cf149ce1acf5b19c38a5edad
net: pcs: xpcs: provide a helper to get the phylink pcs given xpcs

Provide a helper to provide the pointer to the phylink_pcs struct
given a valid xpcs pointer. This will be necessary when we make
struct dw_xpcs private to pcs-xpcs.c

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
drivers/net/pcs/pcs-xpcs.c
include/linux/pcs/pcs-xpcs.h