mirror of
https://github.com/torvalds/linux.git
synced 2026-10-16 21:00:02 +02:00
dt-check-style was not properly handling DTC directives (starting with '/', e.g. /dts-v1/ or /include/), thus a few DTS files had false positive like: apm/apm-merlin.dts:1: [indent-unit-dts] indent unit must be 1 tab in DTS, got '\t\t' Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://patch.msgid.link/20260709-dts-style-checker-v5-5-fcc147cb697d@oss.qualcomm.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
22 lines
316 B
Plaintext
22 lines
316 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
/*
|
|
* Test fixture: preprocessor directive
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "soc.dtsi"
|
|
#include<dt-bindings/gpio/gpio.h>
|
|
|
|
/ {
|
|
compatible = "example,test-board";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
leds {
|
|
led-0 {
|
|
compatible = "example,led";
|
|
};
|
|
};
|
|
};
|