[PATCH] spi: mediatek: Re-license MTK SPI driver as Dual MIT/GPL
Leilk Liu
leilk.liu at mediatek.com
Wed Mar 3 02:56:36 GMT 2021
From: "leilk.liu" <leilk.liu at mediatek.com>
It is wanted to use MTK spi bus 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.
Signed-off-by: leilk.liu <leilk.liu at mediatek.com>
---
drivers/spi/spi-mt65xx.c | 4 ++--
include/linux/platform_data/spi-mt65xx.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c
index 976f73b9e299..d8a8fb0e8aa4 100644
--- a/drivers/spi/spi-mt65xx.c
+++ b/drivers/spi/spi-mt65xx.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0-only
+// SPDX-License-Identifier: GPL-2.0 OR MIT
/*
* Copyright (c) 2015 MediaTek Inc.
* Author: Leilk Liu <leilk.liu at mediatek.com>
@@ -946,5 +946,5 @@ module_platform_driver(mtk_spi_driver);
MODULE_DESCRIPTION("MTK SPI Controller driver");
MODULE_AUTHOR("Leilk Liu <leilk.liu at mediatek.com>");
-MODULE_LICENSE("GPL v2");
+MODULE_LICENSE("Dual MIT/GPL");
MODULE_ALIAS("platform:mtk-spi");
diff --git a/include/linux/platform_data/spi-mt65xx.h b/include/linux/platform_data/spi-mt65xx.h
index 65fd5ffd257c..b6dcd70c4c49 100644
--- a/include/linux/platform_data/spi-mt65xx.h
+++ b/include/linux/platform_data/spi-mt65xx.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
+// SPDX-License-Identifier: GPL-2.0 OR MIT
/*
* MTK SPI bus driver definitions
*
--
2.18.0
More information about the linux-arm-kernel
mailing list