realtek: Switch booleans in rtl838x_port to single bits
authorSven Eckelmann <[email protected]>
Thu, 9 Oct 2025 11:56:19 +0000 (13:56 +0200)
committerRobert Marko <[email protected]>
Sun, 12 Oct 2025 10:49:49 +0000 (12:49 +0200)
commite696f39da816136746e37fa1a2f59349ddac28db
tree218af63bfa1c8a31dee2ad92590b32e2f18f7ee0
parent5e001d7ac311483a3d503e2a96df5f6feb6e8fdd
realtek: Switch booleans in rtl838x_port to single bits

In upstream kernel, it is not well received to use a lot of simple booleans
in structs. It is preferred to use 1-bit bitfields [1] and consolidate the
booleans together.

[1] https://www.kernel.org/doc/html/v6.16/process/coding-style.html#using-bool

Signed-off-by: Sven Eckelmann <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20360
Signed-off-by: Robert Marko <[email protected]>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl838x.h