]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: eth: rename priv to ctrl (as in other drivers)
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Fri, 9 Jan 2026 19:28:41 +0000 (20:28 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 15 Jan 2026 22:06:02 +0000 (23:06 +0100)
commita3003725e8c45eee2d9ef64e5e20fcbdccead4f3
tree38d259b1e7c208da5f44f0fa9376686559d94bb0
parentc7f585bfc3dcd6da0d13ffdee5fa8ac47224004a
realtek: eth: rename priv to ctrl (as in other drivers)

All Realtek drivers use ctrl (control) als the central driver
structure. Align that for the ethernet driver. Additionally
use the rteth prefix for the device independent structure
definition. Its current prefix "rtl838x_" is only confusing.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21476
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.h