aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7628an_xiaomi_mir4a-100m.dts
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-25 22:20:56 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-25 23:26:40 +0200
commit621297e86736556f772a3a1e3907c4ad9223bd74 (patch)
tree9521d98ec9d25efe256b08579a3a66702c7c681f /target/linux/ramips/dts/mt7628an_xiaomi_mir4a-100m.dts
parent41cc7edc15010b41a9347988d42898b9001d7402 (diff)
downloadupstream-621297e86736556f772a3a1e3907c4ad9223bd74.tar.gz
upstream-621297e86736556f772a3a1e3907c4ad9223bd74.tar.bz2
upstream-621297e86736556f772a3a1e3907c4ad9223bd74.zip
ramips: move dts-v1 statement to top-level DTSI files
The "/dts-v1/;" identifier is supposed to be present once at the top of a device tree file after the includes have been processed. In ramips, we therefore requested to have in the DTS files so far, and omit it in the DTSI files. However, essentially the syntax of the parent mtxxxx/rtxxxx DTSI files already determines the DTS version, so putting it into the DTS files is just a useless repetition. Consequently, this patch puts the dts-v1 statement into the top-level SoC-based DTSI files, and removes all other occurences. Since the dts-v1 statement needs to be before any other definitions, this also moves the includes accordingly where necessary. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/dts/mt7628an_xiaomi_mir4a-100m.dts')
-rw-r--r--target/linux/ramips/dts/mt7628an_xiaomi_mir4a-100m.dts1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7628an_xiaomi_mir4a-100m.dts b/target/linux/ramips/dts/mt7628an_xiaomi_mir4a-100m.dts
index 009a75a9d0..a89ed49a70 100644
--- a/target/linux/ramips/dts/mt7628an_xiaomi_mir4a-100m.dts
+++ b/target/linux/ramips/dts/mt7628an_xiaomi_mir4a-100m.dts
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
#include "mt7628an.dtsi"