diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-02-19 13:47:45 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-02-19 13:47:45 +0100 |
commit | 45e8d9b480c40b3d8fb1fbfba437bc5c87f319c0 (patch) | |
tree | ad9b1c04c85f2bc9d7ea411b15ca0dc593df6ea8 | |
parent | 31a06f8fcc575d228be73d66e0ae6619855de2c1 (diff) | |
download | upstream-45e8d9b480c40b3d8fb1fbfba437bc5c87f319c0.tar.gz upstream-45e8d9b480c40b3d8fb1fbfba437bc5c87f319c0.tar.bz2 upstream-45e8d9b480c40b3d8fb1fbfba437bc5c87f319c0.zip |
mediatek: fix SPDX license identifier on local DTS files
The SPDX license identifier must be in the first line of a file,
unless there is a shebang (then it's the second line).
Fix this for the local files, do not care about the upstream patches.
While at it, update the identifiers where necessary.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
4 files changed, 4 insertions, 8 deletions
diff --git a/target/linux/mediatek/dts/mt7622-bananapi-bpi-r64-rootdisk.dts b/target/linux/mediatek/dts/mt7622-bananapi-bpi-r64-rootdisk.dts index 36d908652d..428777e3f7 100644 --- a/target/linux/mediatek/dts/mt7622-bananapi-bpi-r64-rootdisk.dts +++ b/target/linux/mediatek/dts/mt7622-bananapi-bpi-r64-rootdisk.dts @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: (GPL-2.0-only OR MIT) /* * Copyright (c) 2018 MediaTek Inc. * Author: Ryder Lee <ryder.lee@mediatek.com> - * - * SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ /dts-v1/; diff --git a/target/linux/mediatek/dts/mt7622-elecom-wrc-2533gent.dts b/target/linux/mediatek/dts/mt7622-elecom-wrc-2533gent.dts index 2ac1c6a671..2f3e5b1fb0 100644 --- a/target/linux/mediatek/dts/mt7622-elecom-wrc-2533gent.dts +++ b/target/linux/mediatek/dts/mt7622-elecom-wrc-2533gent.dts @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: (GPL-2.0-only OR MIT) /* * Copyright (c) 2017 MediaTek Inc. * Author: Ming Huang <ming.huang@mediatek.com> * Sean Wang <sean.wang@mediatek.com> - * - * SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ /dts-v1/; diff --git a/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc-512m.dts b/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc-512m.dts index 857d440d0f..822ca3fd49 100644 --- a/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc-512m.dts +++ b/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc-512m.dts @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) /* * Copyright 2018 Kristian Evensen <kristian.evensen@gmail.com> - * - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ /dts-v1/; diff --git a/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi b/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi index 3db5dfd381..aa1e82b58a 100644 --- a/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi +++ b/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) /* * Copyright 2018 Kristian Evensen <kristian.evensen@gmail.com> - * - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ #include <dt-bindings/input/input.h> |