ipq806x: fix dts error in LED color/function conversion
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 7 Feb 2024 22:50:48 +0000 (23:50 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 7 Feb 2024 23:01:22 +0000 (00:01 +0100)
Fix DTS error in LED color/function conversion due to a bug in the
conversion script.

Fixes: 33e796232911 ("ipq806x: convert to new LED color/function format where possible")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts

index 33d8f78e58ac9b2e92e7a9eb2128ff5f2fe61a5a..b8cb25ede0c6ff0da9fea19e3d0d5ae0e39fafdc 100644 (file)
@@ -1,3 +1,5 @@
+#include <dt-bindings/leds/common.h>
+
 #include "qcom-ipq8064-ad7200-c2600.dtsi"
 
 / {
                        bias-pull-up;
                };
        };
-#include <dt-bindings/leds/common.h>
-
 };
index 036485ecc607b502009759519fb00e6edb93a7ed..d9155081a583d9c1e9d3546a393c4e5da3ce6958 100644 (file)
@@ -1,3 +1,5 @@
+#include <dt-bindings/leds/common.h>
+
 #include "qcom-ipq8064-eax500.dtsi"
 
 / {
        qcom,poll_required = <0>;       /* no polling */
        qcom,rgmii_delay = <0>;
        qcom,emulation = <0>;
-#include <dt-bindings/leds/common.h>
-
 };