[openwrt/openwrt] mediatek: fix SPDX license identifier on local DTS files

LEDE Commits lede-commits at lists.infradead.org
Fri Feb 19 14:02:46 EST 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/45e8d9b480c40b3d8fb1fbfba437bc5c87f319c0

commit 45e8d9b480c40b3d8fb1fbfba437bc5c87f319c0
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Fri Feb 19 13:47:45 2021 +0100

    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 at adrianschmutzler.de>
---
 target/linux/mediatek/dts/mt7622-bananapi-bpi-r64-rootdisk.dts   | 3 +--
 target/linux/mediatek/dts/mt7622-elecom-wrc-2533gent.dts         | 3 +--
 target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc-512m.dts | 3 +--
 target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi     | 3 +--
 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 at 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 at mediatek.com>
  *	   Sean Wang <sean.wang at 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 at 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 at gmail.com>
- *
- * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  */
 
 #include <dt-bindings/input/input.h>



More information about the lede-commits mailing list