From: Jonas Jelonek Date: Wed, 17 Dec 2025 21:33:17 +0000 (+0000) Subject: realtek: pcs: rename SerDes mode field X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1912f45b485d1dec0bc2781914f789bedd890c67;p=thirdparty%2Fopenwrt.git realtek: pcs: rename SerDes mode field Rename the mode field in rtpcs_serdes from 'mode' to 'hw_mode' to make clear what it actually is, to avoid confusion with the phy_interface_t 'mode' usually passed to functions. Signed-off-by: Jonas Jelonek Link: https://github.com/openwrt/openwrt/pull/21184 Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c b/target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c index 0a1d994da7a..cdc18c05052 100644 --- a/target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c +++ b/target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c @@ -134,7 +134,7 @@ struct rtpcs_ctrl; struct rtpcs_serdes { struct rtpcs_ctrl *ctrl; u8 id; - enum rtpcs_sds_mode mode; + enum rtpcs_sds_mode hw_mode; bool rx_pol_inv; bool tx_pol_inv;