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/mt7620n_zbtlink_zbt-we2026.dts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'target/linux/ramips/dts/mt7620n_zbtlink_zbt-we2026.dts') diff --git a/target/linux/ramips/dts/mt7620n_zbtlink_zbt-we2026.dts b/target/linux/ramips/dts/mt7620n_zbtlink_zbt-we2026.dts index 5f6925bb88..d547923b48 100644 --- a/target/linux/ramips/dts/mt7620n_zbtlink_zbt-we2026.dts +++ b/target/linux/ramips/dts/mt7620n_zbtlink_zbt-we2026.dts @@ -1,10 +1,8 @@ -/dts-v1/; +#include "mt7620n.dtsi" #include #include -#include "mt7620n.dtsi" - / { compatible = "zbtlink,zbt-we2026", "ralink,mt7620n-soc"; model = "Zbtlink ZBT-WE2026"; -- cgit v1.2.3