Skip to content

Commit ff4a748

Browse files
morimototorvalds
authored andcommitted
sh: drivers: convert to SPDX identifiers
Update 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] Link: http://lkml.kernel.org/r/87h8fsct0a.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Cc: Rich Felker <dalias@libc.org> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent aaf9128 commit ff4a748

33 files changed

Lines changed: 41 additions & 124 deletions

‎arch/sh/drivers/dma/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: GPL-2.0
12
#
23
# Makefile for the SuperH DMA specific kernel interface routines under Linux.
34
#

‎arch/sh/drivers/dma/dma-api.c‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* arch/sh/drivers/dma/dma-api.c
34
*
45
* SuperH-specific DMA management API
56
*
67
* Copyright (C) 2003, 2004, 2005 Paul Mundt
7-
*
8-
* This file is subject to the terms and conditions of the GNU General Public
9-
* License. See the file "COPYING" in the main directory of this archive
10-
* for more details.
118
*/
129
#include <linux/init.h>
1310
#include <linux/module.h>
@@ -417,4 +414,4 @@ subsys_initcall(dma_api_init);
417414

418415
MODULE_AUTHOR("Paul Mundt <lethal@linux-sh.org>");
419416
MODULE_DESCRIPTION("DMA API for SuperH");
420-
MODULE_LICENSE("GPL");
417+
MODULE_LICENSE("GPL v2");

‎arch/sh/drivers/dma/dma-g2.c‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* arch/sh/drivers/dma/dma-g2.c
34
*
45
* G2 bus DMA support
56
*
67
* Copyright (C) 2003 - 2006 Paul Mundt
7-
*
8-
* This file is subject to the terms and conditions of the GNU General Public
9-
* License. See the file "COPYING" in the main directory of this archive
10-
* for more details.
118
*/
129
#include <linux/init.h>
1310
#include <linux/kernel.h>
@@ -197,4 +194,4 @@ module_exit(g2_dma_exit);
197194

198195
MODULE_AUTHOR("Paul Mundt <lethal@linux-sh.org>");
199196
MODULE_DESCRIPTION("G2 bus DMA driver");
200-
MODULE_LICENSE("GPL");
197+
MODULE_LICENSE("GPL v2");

‎arch/sh/drivers/dma/dma-pvr2.c‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* arch/sh/drivers/dma/dma-pvr2.c
34
*
45
* NEC PowerVR 2 (Dreamcast) DMA support
56
*
67
* Copyright (C) 2003, 2004 Paul Mundt
7-
*
8-
* This file is subject to the terms and conditions of the GNU General Public
9-
* License. See the file "COPYING" in the main directory of this archive
10-
* for more details.
118
*/
129
#include <linux/init.h>
1310
#include <linux/kernel.h>
@@ -105,4 +102,4 @@ module_exit(pvr2_dma_exit);
105102

106103
MODULE_AUTHOR("Paul Mundt <lethal@linux-sh.org>");
107104
MODULE_DESCRIPTION("NEC PowerVR 2 DMA driver");
108-
MODULE_LICENSE("GPL");
105+
MODULE_LICENSE("GPL v2");

‎arch/sh/drivers/dma/dma-sh.c‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* arch/sh/drivers/dma/dma-sh.c
34
*
@@ -6,10 +7,6 @@
67
* Copyright (C) 2000 Takashi YOSHII
78
* Copyright (C) 2003, 2004 Paul Mundt
89
* Copyright (C) 2005 Andriy Skulysh
9-
*
10-
* This file is subject to the terms and conditions of the GNU General Public
11-
* License. See the file "COPYING" in the main directory of this archive
12-
* for more details.
1310
*/
1411
#include <linux/init.h>
1512
#include <linux/interrupt.h>
@@ -414,4 +411,4 @@ module_exit(sh_dmac_exit);
414411

415412
MODULE_AUTHOR("Takashi YOSHII, Paul Mundt, Andriy Skulysh");
416413
MODULE_DESCRIPTION("SuperH On-Chip DMAC Support");
417-
MODULE_LICENSE("GPL");
414+
MODULE_LICENSE("GPL v2");

‎arch/sh/drivers/dma/dma-sysfs.c‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* arch/sh/drivers/dma/dma-sysfs.c
34
*
45
* sysfs interface for SH DMA API
56
*
67
* Copyright (C) 2004 - 2006 Paul Mundt
7-
*
8-
* This file is subject to the terms and conditions of the GNU General Public
9-
* License. See the file "COPYING" in the main directory of this archive
10-
* for more details.
118
*/
129
#include <linux/kernel.h>
1310
#include <linux/init.h>

‎arch/sh/drivers/dma/dmabrg.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* SH7760 DMABRG IRQ handling
34
*
45
* (c) 2007 MSC Vertriebsges.m.b.H, Manuel Lauss <mlau@msc-ge.com>
5-
* licensed under the GPLv2.
6-
*
76
*/
87

98
#include <linux/interrupt.h>

‎arch/sh/drivers/heartbeat.c‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Generic heartbeat driver for regular LED banks
34
*
@@ -13,10 +14,6 @@
1314
* traditionally used for strobing the load average. This use case is
1415
* handled by this driver, rather than giving each LED bit position its
1516
* own struct device.
16-
*
17-
* This file is subject to the terms and conditions of the GNU General Public
18-
* License. See the file "COPYING" in the main directory of this archive
19-
* for more details.
2017
*/
2118
#include <linux/init.h>
2219
#include <linux/platform_device.h>

‎arch/sh/drivers/pci/fixups-dreamcast.c‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* arch/sh/drivers/pci/fixups-dreamcast.c
34
*
@@ -9,10 +10,6 @@
910
* This file originally bore the message (with enclosed-$):
1011
* Id: pci.c,v 1.3 2003/05/04 19:29:46 lethal Exp
1112
* Dreamcast PCI: Supports SEGA Broadband Adaptor only.
12-
*
13-
* This file is subject to the terms and conditions of the GNU General Public
14-
* License. See the file "COPYING" in the main directory of this archive
15-
* for more details.
1613
*/
1714

1815
#include <linux/sched.h>

‎arch/sh/drivers/pci/fixups-landisk.c‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* arch/sh/drivers/pci/fixups-landisk.c
34
*
45
* PCI initialization for the I-O DATA Device, Inc. LANDISK board
56
*
67
* Copyright (C) 2006 kogiidena
78
* Copyright (C) 2010 Nobuhiro Iwamatsu
8-
*
9-
* May be copied or modified under the terms of the GNU General Public
10-
* License. See linux/COPYING for more information.
119
*/
1210
#include <linux/kernel.h>
1311
#include <linux/types.h>

0 commit comments

Comments
 (0)