.gitattributes: use 'dts' diff driver for *.dtso files
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 19 Feb 2023 14:23:27 +0000 (23:23 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 26 Feb 2023 06:28:23 +0000 (15:28 +0900)
Now we have the third extension for DT source files (overlay).
Give the diff=dts attribute to *.dtso as well.

While I was here, I merged *.c and *.o into *.[ch] and added the
SPDX-License-Identifier.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
.gitattributes

index 4b32eaa9571e64e47b51c43537063f56b204d8b3..c9ba5bfc403600a8c9418fd4503574bcb69dc87e 100644 (file)
@@ -1,4 +1,4 @@
-*.c   diff=cpp
-*.h   diff=cpp
-*.dtsi diff=dts
-*.dts  diff=dts
+# SPDX-License-Identifier: GPL-2.0-only
+*.[ch] diff=cpp
+*.dts diff=dts
+*.dts[io] diff=dts