]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: dsa: make use of device_get_match_data() 21866/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Wed, 4 Feb 2026 07:10:04 +0000 (08:10 +0100)
committerRobert Marko <robimarko@gmail.com>
Thu, 5 Feb 2026 10:40:24 +0000 (11:40 +0100)
commitfb5aa0485af7a6af020e3155cbe53cfeba38b884
treecd8af5957a6e6b91be91a2aa984e9c56024b5539
parent47ce4d8a718de4ca94d6a8e50e657479a8d81b41
realtek: dsa: make use of device_get_match_data()

The SoC specific configuration structure is currently manually
assigned depending on the family_id. This will be removed in
the future. Make use of device_get_match_data() instead.

While we are here rename the structure prefix.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21866
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/dts/rtl838x.dtsi
target/linux/realtek/dts/rtl839x.dtsi
target/linux/realtek/dts/rtl930x.dtsi
target/linux/realtek/dts/rtl931x.dtsi
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl838x.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl838x.h
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl839x.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl83xx.h
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl930x.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl931x.c