realtek: pcs: fix sds_config struct definition
authorJonas Jelonek <jelonek.jonas@gmail.com>
Mon, 5 Jan 2026 14:07:48 +0000 (14:07 +0000)
committerRobert Marko <robimarko@gmail.com>
Wed, 7 Jan 2026 09:46:54 +0000 (10:46 +0100)
commit7aa7e97e531c75f7fdbb68ca032b19bad0c1cbbe
treeafca30f67fd51c253136f271d7206331baf32ad3
parentfe0f6f82c1e640a80183fde4f16afee23676b18e
realtek: pcs: fix sds_config struct definition

In kernel coding style, it is highly disregarded to hide structures
behind typedefs ([1]). The PCS driver still contains a typedef for the
sds_config which was taken over from the PHY driver.

- drop the typedef, just declaring it as a struct
- give it the common 'rtpcs_' prefix
- adjust all usage locations

[1] https://www.kernel.org/doc/html/v6.18/process/coding-style.html#typedefs

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21410
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c