openwrt/target/linux/realtek
Markus Stockhausen ab49297334 realtek: mdio: fix non-debug SerDes builds
The new SerDes mdio driver produces the following compilation
error in non-debug builds.

drivers/net/mdio/mdio-realtek-otto-serdes.c:72:12:
error: 'rtsds_sds_to_mmd' defined but not used [-Werror=unused-function]
   72 | static int rtsds_sds_to_mmd(int sds_page, int sds_regnum)
      |            ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Move the function into the debug section.

Fixes: 7a7ee72c4d ("realtek: mdio: add SerDes driver")
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/20078
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-09-18 10:44:35 +02:00
..
base-files realtek: fix model for TP-Link TL-ST1008F v2.0 2025-09-03 00:51:49 +02:00
dts realtek: mdio: add SerDes driver 2025-09-17 19:23:15 +02:00
files/firmware/rtl838x_phy
files-6.12 realtek: mdio: fix non-debug SerDes builds 2025-09-18 10:44:35 +02:00
image realtek: Rename ZyXEL XGS1210-12 to XGS1210-12 a1 2025-09-03 21:40:36 +02:00
patches-6.12 realtek: mdio: add SerDes driver 2025-09-17 19:23:15 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: mdio: add SerDes driver 2025-09-17 19:23:15 +02:00
rtl839x realtek: mdio: add SerDes driver 2025-09-17 19:23:15 +02:00
rtl930x realtek: mdio: add SerDes driver 2025-09-17 19:23:15 +02:00
rtl930x_nand realtek: mdio: add SerDes driver 2025-09-17 19:23:15 +02:00
rtl931x realtek: mdio: add SerDes driver 2025-09-17 19:23:15 +02:00
rtl931x_nand realtek: mdio: add SerDes driver 2025-09-17 19:23:15 +02:00
Makefile realtek: add NAND targets for RTL93xx 2025-08-10 11:46:52 +02:00