]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: switch to id from SerDes struct
authorJonas Jelonek <jelonek.jonas@gmail.com>
Sat, 13 Dec 2025 20:01:03 +0000 (20:01 +0000)
committerRobert Marko <robimarko@gmail.com>
Tue, 16 Dec 2025 12:38:13 +0000 (13:38 +0100)
commit0fe7f97896724fefdfc019d784f723365c4e4046
treeba2cfe22022ced1c56b99e98766eebaa4d95097c
parent6f98353eecbebd2e7b8d18ab8582121cabc11dad
realtek: pcs: switch to id from SerDes struct

Drop usage of the to-be-phased-out SerDes id stored in rtpcs_link and
use the reference to the SerDes instance to use the embedded id in
rtpcs_serdes instead.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21146
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 4d9400f86bea9ea5587d920eb78b9825d796ea95)
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c