]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: pcs: xpcs: move definition of struct dw_xpcs to private header
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 4 Oct 2024 10:21:01 +0000 (11:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Oct 2024 11:13:11 +0000 (12:13 +0100)
commitaccd5f5cd2e1b0ed6805a7c24765648d213561e5
treec6f29af4c799f16a9ee577c78fa24ecdde71357a
parentf042365a26b07006064c2cfa2293e16cad243b0d
net: pcs: xpcs: move definition of struct dw_xpcs to private header

There should be no reason for anything outside the XPCS code to know
the contents of struct dw_xpcs - this is a private structure to XPCS.
Move the definition to the private pcs-xpcs.h header, leaving a
declaration in the global pcs/pcs-xpcs.h

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