.gitattributes: use 'dts' diff driver for *.dtso files

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>
This commit is contained in:
Masahiro Yamada 2023-02-19 23:23:27 +09:00
parent 3ab18a625c
commit ae41e0e41b

8
.gitattributes vendored
View File

@ -1,4 +1,4 @@
*.c diff=cpp # SPDX-License-Identifier: GPL-2.0-only
*.h diff=cpp *.[ch] diff=cpp
*.dtsi diff=dts *.dts diff=dts
*.dts diff=dts *.dts[io] diff=dts