mtd: rawnand: mtk: Re-license MTK NAND driver as Dual MIT/GPL
Subsystems (4)
PATCH v2 1/1 mtd: rawnand: mtk: Re-license MTK NAND driver as Dual MIT/GPL
From: Xiaolei Li <[email protected]>
It is wanted to use MTK NAND driver with GPL-2.0 or MIT license. But now it is only licensed as GPL-2.0.
So re-license it as dual MIT/GPL and replace license text with SPDX tag.
--- drivers/mtd/nand/raw/mtk_ecc.c | 12 ++---------- drivers/mtd/nand/raw/mtk_ecc.h | 4 +--- drivers/mtd/nand/raw/mtk_nand.c | 12 ++---------- 3 files changed, 5 insertions(+), 23 deletions(-)
drivers/mtd/nand/raw/mtk_ecc.c +2 -10
@@ -1,17 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* * MTK ECC controller driver. * Copyright (C) 2016 MediaTek Inc. * Authors: Xiaolei Li <[email protected]> * Jorge Ramirez-Ortiz <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ #include <linux/platform_device.h>
@@ -604,4 +596,4 @@ module_platform_driver(mtk_ecc_driver);MODULE_AUTHOR ("Xiaolei Li <[email protected]>" );MODULE_DESCRIPTION ("MTK Nand ECC Driver" ); -MODULE_LICENSE ("GPL" ); +MODULE_LICENSE ("Dual MIT/GPL" );
drivers/mtd/nand/raw/mtk_ecc.h +1 -3
@@ -1,12 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* * MTK SDG1 ECC controller * * Copyright (c) 2016 Mediatek * Authors: Xiaolei Li <[email protected]> * Jorge Ramirez-Ortiz <[email protected]> -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License version 2 as published -* by the Free Software Foundation. */ #ifndef __DRIVERS_MTD_NAND_MTK_ECC_H__
drivers/mtd/nand/raw/mtk_nand.c +2 -10
@@ -1,17 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* * MTK NAND Flash controller driver. * Copyright (C) 2016 MediaTek Inc. * Authors: Xiaolei Li <[email protected]> * Jorge Ramirez-Ortiz <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ #include <linux/platform_device.h>
@@ -1653,6 +1645,6 @@ static struct platform_driver mtk_nfc_driver = {module_platform_driver (mtk_nfc_driver); -MODULE_LICENSE ("GPL" ); +MODULE_LICENSE ("Dual MIT/GPL" );MODULE_AUTHOR ("Xiaolei Li <[email protected]>" );MODULE_DESCRIPTION ("MTK Nand Flash Controller Driver" );
Signature · 6 lines
2.18.0 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/
Miquel Raynal
AppliedHi Xiaoleil,
<[email protected]> wrote on Mon, 24 Jun 2019 09:38:56 +0800:
Quoted 19 lines
From: Xiaolei Li <[email protected]>
It is wanted to use MTK NAND driver with GPL-2.0 or MIT license. But now it is only licensed as GPL-2.0.
So re-license it as dual MIT/GPL and replace license text with SPDX tag.Signed-off-by Xiaolei Li <[email protected]>Acked-by Ryder Lee <[email protected]>Acked-by Rafał Miłecki <[email protected]>Acked-by Miquel Raynal <[email protected]>Acked-by Boris Brezillon <[email protected]>Acked-by Wen Yang <[email protected]>Acked-by Dan Carpenter <[email protected]>Acked-by Arnd Bergmann <[email protected]>Acked-by Masahiro Yamada <[email protected]>Acked-by RogerCC Lin <[email protected]>Reviewed-by Matthias Brugger <[email protected]>
Quoted 1 line
---
Applied to nand/next, thanks.
Miquèl
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek