realtek: eth: move netdev_ops to config structure
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Wed, 31 Dec 2025 13:49:05 +0000 (14:49 +0100)
committerRobert Marko <robimarko@gmail.com>
Sun, 4 Jan 2026 18:06:26 +0000 (19:06 +0100)
commitf14fed9a92a651395ae3986dc7441e9dd4f71b7d
tree0d44801d804add7890b1c3fb70f5639b8073c3a1
parent2d8212e8a48ce246e7afe58ddb4d23af180e2358
realtek: eth: move netdev_ops to config structure

Simplify netdev_ops initialization by moving the data
into the configuration structure.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21345
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.h