From 1912f45b485d1dec0bc2781914f789bedd890c67 Mon Sep 17 00:00:00 2001 From: Jonas Jelonek Date: Wed, 17 Dec 2025 21:33:17 +0000 Subject: [PATCH] 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 --- target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 0a1d994da7..cdc18c0505 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;