]> www.infradead.org Git - users/willy/linux.git/commit
net: dsa: sja1105: call PCS config/link_up via pcs_ops structure
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 1 Oct 2024 16:04:41 +0000 (17:04 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 3 Oct 2024 00:32:00 +0000 (17:32 -0700)
commit907476c66d7300609439cf4493a78f2a53803b2e
tree27a4d5df1d784c2b7409abc0003bdd80db2abb25
parenta18891b55703a45b700618ef40edd5e9aaecc345
net: dsa: sja1105: call PCS config/link_up via pcs_ops structure

Call the PCS operations through the ops structure, which avoids needing
to export xpcs internal functions.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1svfMf-005ZId-Mx@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/sja1105/sja1105_main.c