]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: dts: drop trailing semicolons after macro use 22614/head
authorJonas Jelonek <jelonek.jonas@gmail.com>
Thu, 26 Mar 2026 13:34:38 +0000 (13:34 +0000)
committerRobert Marko <robimarko@gmail.com>
Thu, 26 Mar 2026 13:48:24 +0000 (14:48 +0100)
commit83084bac959e792517cf9a8130d797f2e94ae682
tree1cc3173a9b517ff76cc5e55bc2f5807355283a81
parent0fe5684bbd8906853073b0a34fc01aa5e630763c
realtek: dts: drop trailing semicolons after macro use

Commit d52f7a4ca5 ("realtek: dts: new SWITCH_PORT_LED() macro") introduced
a new macro to simplify switch port definitions and introduces usage of
it for Zyxel XGS1X10-12 devices. However, this change added a DTS syntax
issue because:

> SWITCH_PORT_LED(...);

produces

> port@XX { ... };;

because the macro already includes a trailing semicolon. The DT compiler
doesn't like this so it fails with syntax error. Fix this by dropping the
trailing semicolons after macro usages.

Fixes: d52f7a4ca5 ("realtek: dts: new SWITCH_PORT_LED() macro")
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22614
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/dts/rtl9302_zyxel_xgs1x10-12-common.dtsi