[openwrt/openwrt] rtl838x: move dts-v1 to DTSI

LEDE Commits lede-commits at lists.infradead.org
Thu Oct 15 11:56:22 EDT 2020


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a49c1aa883359940e6a4e78e7f600837abca7741

commit a49c1aa883359940e6a4e78e7f600837abca7741
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Thu Oct 15 17:51:42 2020 +0200

    rtl838x: move dts-v1 to DTSI
    
    The syntax of the shared SoC DTSI file determines the DTS version,
    so no need to repeat the "/dts-v1/;" identifier in every file.
    
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/rtl838x/dts/rtl8382_allnet_all-sg8208m.dts | 1 -
 target/linux/rtl838x/dts/rtl8382_d-link_dgs-1210-16.dts | 2 --
 target/linux/rtl838x/dts/rtl838x.dtsi                   | 2 ++
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/target/linux/rtl838x/dts/rtl8382_allnet_all-sg8208m.dts b/target/linux/rtl838x/dts/rtl8382_allnet_all-sg8208m.dts
index 09d5aff0fe..00be58faca 100644
--- a/target/linux/rtl838x/dts/rtl8382_allnet_all-sg8208m.dts
+++ b/target/linux/rtl838x/dts/rtl8382_allnet_all-sg8208m.dts
@@ -1,5 +1,4 @@
 // SPDX-License-Identifier: GPL-2.0-or-later
-/dts-v1/;
 
 #include "rtl838x.dtsi"
 
diff --git a/target/linux/rtl838x/dts/rtl8382_d-link_dgs-1210-16.dts b/target/linux/rtl838x/dts/rtl8382_d-link_dgs-1210-16.dts
index ffb3dca226..f1eee78b60 100644
--- a/target/linux/rtl838x/dts/rtl8382_d-link_dgs-1210-16.dts
+++ b/target/linux/rtl838x/dts/rtl8382_d-link_dgs-1210-16.dts
@@ -1,5 +1,3 @@
-/dts-v1/;
-
 #include "rtl838x.dtsi"
 
 #include <dt-bindings/input/input.h>
diff --git a/target/linux/rtl838x/dts/rtl838x.dtsi b/target/linux/rtl838x/dts/rtl838x.dtsi
index 63dc9bf1ba..5d562063ea 100644
--- a/target/linux/rtl838x/dts/rtl838x.dtsi
+++ b/target/linux/rtl838x/dts/rtl838x.dtsi
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+/dts-v1/;
+
 / {
 	#address-cells = <1>;
 	#size-cells = <1>;



More information about the lede-commits mailing list