Skip to content

Commit cfd7401

Browse files
morimotomiquelraynal
authored andcommitted
mtd: rawnand: sh_flctl: convert to SPDX identifiers
This patch updates license to use SPDX-License-Identifier instead of verbose license text. As original license mentioned, it is GPL-2.0 in SPDX. Then, MODULE_LICENSE() should be "GPL v2" instead of "GPL". See ${LINUX}/include/linux/module.h "GPL" [GNU Public License v2 or later] "GPL v2" [GNU Public License v2] Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1 parent 9e3e4d8 commit cfd7401

File tree

2 files changed

+4
-29
lines changed

2 files changed

+4
-29
lines changed

drivers/mtd/nand/raw/sh_flctl.c

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,11 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* SuperH FLCTL nand controller
34
*
45
* Copyright (c) 2008 Renesas Solutions Corp.
56
* Copyright (c) 2008 Atom Create Engineering Co., Ltd.
67
*
78
* Based on fsl_elbc_nand.c, Copyright (c) 2006-2007 Freescale Semiconductor
8-
*
9-
* This program is free software; you can redistribute it and/or modify
10-
* it under the terms of the GNU General Public License as published by
11-
* the Free Software Foundation; version 2 of the License.
12-
*
13-
* This program is distributed in the hope that it will be useful,
14-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
* GNU General Public License for more details.
17-
*
18-
* You should have received a copy of the GNU General Public License
19-
* along with this program; if not, write to the Free Software
20-
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21-
*
229
*/
2310

2411
#include <linux/module.h>
@@ -1236,7 +1223,7 @@ static struct platform_driver flctl_driver = {
12361223

12371224
module_platform_driver_probe(flctl_driver, flctl_probe);
12381225

1239-
MODULE_LICENSE("GPL");
1226+
MODULE_LICENSE("GPL v2");
12401227
MODULE_AUTHOR("Yoshihiro Shimoda");
12411228
MODULE_DESCRIPTION("SuperH FLCTL driver");
12421229
MODULE_ALIAS("platform:sh_flctl");

include/linux/mtd/sh_flctl.h

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
/*
1+
/* SPDX-License-Identifier: GPL-2.0
2+
*
23
* SuperH FLCTL nand controller
34
*
45
* Copyright © 2008 Renesas Solutions Corp.
5-
*
6-
* This program is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation; version 2 of the License.
9-
*
10-
* This program is distributed in the hope that it will be useful,
11-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
* GNU General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU General Public License
16-
* along with this program; if not, write to the Free Software
17-
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
186
*/
197

208
#ifndef __SH_FLCTL_H__

0 commit comments

Comments
 (0)