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/rt5350_unbranded_a5-v11.dts | 2 -- 1 file changed, 2 deletions(-) (limited to 'target/linux/ramips/dts/rt5350_unbranded_a5-v11.dts') diff --git a/target/linux/ramips/dts/rt5350_unbranded_a5-v11.dts b/target/linux/ramips/dts/rt5350_unbranded_a5-v11.dts index 820256187f..7f07b3f431 100644 --- a/target/linux/ramips/dts/rt5350_unbranded_a5-v11.dts +++ b/target/linux/ramips/dts/rt5350_unbranded_a5-v11.dts @@ -1,5 +1,3 @@ -/dts-v1/; - #include "rt5350.dtsi" #include -- cgit v1.2.3