From 621297e86736556f772a3a1e3907c4ad9223bd74 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Fri, 25 Sep 2020 22:20:56 +0200 Subject: 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 --- target/linux/ramips/dts/mt7620a_asus_rp-n53.dts | 2 -- 1 file changed, 2 deletions(-) (limited to 'target/linux/ramips/dts/mt7620a_asus_rp-n53.dts') diff --git a/target/linux/ramips/dts/mt7620a_asus_rp-n53.dts b/target/linux/ramips/dts/mt7620a_asus_rp-n53.dts index b11980d8ca..d58591e950 100644 --- a/target/linux/ramips/dts/mt7620a_asus_rp-n53.dts +++ b/target/linux/ramips/dts/mt7620a_asus_rp-n53.dts @@ -1,5 +1,3 @@ -/dts-v1/; - #include "mt7620a.dtsi" #include -- cgit v1.2.3