aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-25 21:10:41 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-25 21:10:41 +0200
commitbdd9dd8ab2859d589c63c2db462674b0e0535b46 (patch)
treed6b58cf64d000363c9659cfdc4bcb067d2b3f053 /target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts
parentb284333b3a25f8a33b98c287256d6c0ee53250f7 (diff)
downloadupstream-bdd9dd8ab2859d589c63c2db462674b0e0535b46.tar.gz
upstream-bdd9dd8ab2859d589c63c2db462674b0e0535b46.tar.bz2
upstream-bdd9dd8ab2859d589c63c2db462674b0e0535b46.zip
ipq40xx: tidy up dts-v1 statements
The "/dts-v1/;" identifier is supposed to be present once at the top of a device tree file after the includes have been processed. Therefore, adding it to a DTS _and_ a DTSI file is actually wrong, as it will be present twice then (though the compiler does not complain about it). In ipq40xx, the dts-v1 statement is already included in qcom-ipq4019.dtsi, so we don't have to add it anywhere at all. However, based on the conditions stated above, this requires qcom-ipq4019.dtsi to be included as the first file in any DTS(I). Consequently, this patch removes all cases of dts-v1 for the ipq40xx target, and moves the includes accordingly where necessary. While at it, remove a few obviously unneeded includes on the way. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts')
-rw-r--r--target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts4
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts
index faac71489c..2465348a82 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts
@@ -1,12 +1,10 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
+#include "qcom-ipq4019.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/soc/qcom,tcsr.h>
-#include "qcom-ipq4019.dtsi"
-
/ {
model = "Luma Home WRTQ-329ACN";
compatible = "luma,wrtq-329acn";