net: dsa: microchip: move ksz_get_gbit() and ksz_get_xmii() to ksz9477.c

ksz_get_gbit() and ksz_get_xmii() are defined in the ksz_common while
they are only used by the ksz9477 driver.

Move their definition into ksz9477.c

Signed-off-by: Bastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com>
Link: https://patch.msgid.link/20260702-clean-ksz-4th-v1-5-93441e695fa4@bootlin.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
Bastien Curutchet (Schneider Electric) 2026-07-02 11:07:27 +02:00 • committed by Paolo Abeni
commit 7a83196e90
3 changed files with 54 additions and 55 deletions