Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Kuninori Morimoto and committed by
Linus Torvalds
ff4a7481 aaf9128a

+41 -124
+1
arch/sh/drivers/dma/Makefile
··· 1 + # SPDX-License-Identifier: GPL-2.0 1 2 # 2 3 # Makefile for the SuperH DMA specific kernel interface routines under Linux. 3 4 #
+2 -5
arch/sh/drivers/dma/dma-api.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * arch/sh/drivers/dma/dma-api.c 3 4 * 4 5 * SuperH-specific DMA management API 5 6 * 6 7 * 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. 11 8 */ 12 9 #include <linux/init.h> 13 10 #include <linux/module.h> ··· 414 417 415 418 MODULE_AUTHOR("Paul Mundt <lethal@linux-sh.org>"); 416 419 MODULE_DESCRIPTION("DMA API for SuperH"); 417 - MODULE_LICENSE("GPL"); 420 + MODULE_LICENSE("GPL v2");
+2 -5
arch/sh/drivers/dma/dma-g2.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * arch/sh/drivers/dma/dma-g2.c 3 4 * 4 5 * G2 bus DMA support 5 6 * 6 7 * 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. 11 8 */ 12 9 #include <linux/init.h> 13 10 #include <linux/kernel.h> ··· 194 197 195 198 MODULE_AUTHOR("Paul Mundt <lethal@linux-sh.org>"); 196 199 MODULE_DESCRIPTION("G2 bus DMA driver"); 197 - MODULE_LICENSE("GPL"); 200 + MODULE_LICENSE("GPL v2");
+2 -5
arch/sh/drivers/dma/dma-pvr2.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * arch/sh/drivers/dma/dma-pvr2.c 3 4 * 4 5 * NEC PowerVR 2 (Dreamcast) DMA support 5 6 * 6 7 * 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. 11 8 */ 12 9 #include <linux/init.h> 13 10 #include <linux/kernel.h> ··· 102 105 103 106 MODULE_AUTHOR("Paul Mundt <lethal@linux-sh.org>"); 104 107 MODULE_DESCRIPTION("NEC PowerVR 2 DMA driver"); 105 - MODULE_LICENSE("GPL"); 108 + MODULE_LICENSE("GPL v2");
+2 -5
arch/sh/drivers/dma/dma-sh.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * arch/sh/drivers/dma/dma-sh.c 3 4 * ··· 7 6 * Copyright (C) 2000 Takashi YOSHII 8 7 * Copyright (C) 2003, 2004 Paul Mundt 9 8 * Copyright (C) 2005 Andriy Skulysh 10 - * 11 - * This file is subject to the terms and conditions of the GNU General Public 12 - * License. See the file "COPYING" in the main directory of this archive 13 - * for more details. 14 9 */ 15 10 #include <linux/init.h> 16 11 #include <linux/interrupt.h> ··· 411 414 412 415 MODULE_AUTHOR("Takashi YOSHII, Paul Mundt, Andriy Skulysh"); 413 416 MODULE_DESCRIPTION("SuperH On-Chip DMAC Support"); 414 - MODULE_LICENSE("GPL"); 417 + MODULE_LICENSE("GPL v2");
+1 -4
arch/sh/drivers/dma/dma-sysfs.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * arch/sh/drivers/dma/dma-sysfs.c 3 4 * 4 5 * sysfs interface for SH DMA API 5 6 * 6 7 * 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. 11 8 */ 12 9 #include <linux/kernel.h> 13 10 #include <linux/init.h>
+1 -2
arch/sh/drivers/dma/dmabrg.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * SH7760 DMABRG IRQ handling 3 4 * 4 5 * (c) 2007 MSC Vertriebsges.m.b.H, Manuel Lauss <mlau@msc-ge.com> 5 - * licensed under the GPLv2. 6 - * 7 6 */ 8 7 9 8 #include <linux/interrupt.h>
+1 -4
arch/sh/drivers/heartbeat.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Generic heartbeat driver for regular LED banks 3 4 * ··· 14 13 * traditionally used for strobing the load average. This use case is 15 14 * handled by this driver, rather than giving each LED bit position its 16 15 * own struct device. 17 - * 18 - * This file is subject to the terms and conditions of the GNU General Public 19 - * License. See the file "COPYING" in the main directory of this archive 20 - * for more details. 21 16 */ 22 17 #include <linux/init.h> 23 18 #include <linux/platform_device.h>
+1 -4
arch/sh/drivers/pci/fixups-dreamcast.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * arch/sh/drivers/pci/fixups-dreamcast.c 3 4 * ··· 10 9 * This file originally bore the message (with enclosed-$): 11 10 * Id: pci.c,v 1.3 2003/05/04 19:29:46 lethal Exp 12 11 * Dreamcast PCI: Supports SEGA Broadband Adaptor only. 13 - * 14 - * This file is subject to the terms and conditions of the GNU General Public 15 - * License. See the file "COPYING" in the main directory of this archive 16 - * for more details. 17 12 */ 18 13 19 14 #include <linux/sched.h>
+1 -3
arch/sh/drivers/pci/fixups-landisk.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * arch/sh/drivers/pci/fixups-landisk.c 3 4 * ··· 6 5 * 7 6 * Copyright (C) 2006 kogiidena 8 7 * Copyright (C) 2010 Nobuhiro Iwamatsu 9 - * 10 - * May be copied or modified under the terms of the GNU General Public 11 - * License. See linux/COPYING for more information. 12 8 */ 13 9 #include <linux/kernel.h> 14 10 #include <linux/types.h>
+1 -4
arch/sh/drivers/pci/fixups-r7780rp.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * arch/sh/drivers/pci/fixups-r7780rp.c 3 4 * ··· 6 5 * 7 6 * Copyright (C) 2003 Lineo uSolutions, Inc. 8 7 * Copyright (C) 2004 - 2006 Paul Mundt 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. 13 8 */ 14 9 #include <linux/pci.h> 15 10 #include <linux/io.h>
+1 -4
arch/sh/drivers/pci/fixups-rts7751r2d.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * arch/sh/drivers/pci/fixups-rts7751r2d.c 3 4 * ··· 7 6 * Copyright (C) 2003 Lineo uSolutions, Inc. 8 7 * Copyright (C) 2004 Paul Mundt 9 8 * Copyright (C) 2007 Nobuhiro Iwamatsu 10 - * 11 - * This file is subject to the terms and conditions of the GNU General Public 12 - * License. See the file "COPYING" in the main directory of this archive 13 - * for more details. 14 9 */ 15 10 #include <linux/pci.h> 16 11 #include <mach/lboxre2.h>
+1 -4
arch/sh/drivers/pci/fixups-sdk7780.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * arch/sh/drivers/pci/fixups-sdk7780.c 3 4 * ··· 7 6 * Copyright (C) 2003 Lineo uSolutions, Inc. 8 7 * Copyright (C) 2004 - 2006 Paul Mundt 9 8 * Copyright (C) 2006 Nobuhiro Iwamatsu 10 - * 11 - * This file is subject to the terms and conditions of the GNU General Public 12 - * License. See the file "COPYING" in the main directory of this archive 13 - * for more details. 14 9 */ 15 10 #include <linux/pci.h> 16 11 #include <linux/io.h>
+1 -4
arch/sh/drivers/pci/fixups-sdk7786.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * SDK7786 FPGA PCIe mux handling 3 4 * 4 5 * Copyright (C) 2010 Paul Mundt 5 - * 6 - * This file is subject to the terms and conditions of the GNU General Public 7 - * License. See the file "COPYING" in the main directory of this archive 8 - * for more details. 9 6 */ 10 7 #define pr_fmt(fmt) "PCI: " fmt 11 8
+1 -3
arch/sh/drivers/pci/fixups-snapgear.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * arch/sh/drivers/pci/ops-snapgear.c 3 4 * ··· 7 6 * Ported to new API by Paul Mundt <lethal@linux-sh.org> 8 7 * 9 8 * Highly leveraged from pci-bigsur.c, written by Dustin McIntire. 10 - * 11 - * May be copied or modified under the terms of the GNU General Public 12 - * License. See linux/COPYING for more information. 13 9 * 14 10 * PCI initialization for the SnapGear boards 15 11 */
+1 -3
arch/sh/drivers/pci/fixups-titan.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * arch/sh/drivers/pci/ops-titan.c 3 4 * ··· 6 5 * 7 6 * Modified from ops-snapgear.c written by David McCullough 8 7 * Highly leveraged from pci-bigsur.c, written by Dustin McIntire. 9 - * 10 - * May be copied or modified under the terms of the GNU General Public 11 - * License. See linux/COPYING for more information. 12 8 * 13 9 * PCI initialization for the Titan boards 14 10 */
+1 -4
arch/sh/drivers/pci/ops-dreamcast.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * PCI operations for the Sega Dreamcast 3 4 * 4 5 * Copyright (C) 2001, 2002 M. R. Brown 5 6 * Copyright (C) 2002, 2003 Paul Mundt 6 - * 7 - * This file is subject to the terms and conditions of the GNU General Public 8 - * License. See the file "COPYING" in the main directory of this archive 9 - * for more details. 10 7 */ 11 8 12 9 #include <linux/sched.h>
+1 -4
arch/sh/drivers/pci/ops-sh4.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Generic SH-4 / SH-4A PCIC operations (SH7751, SH7780). 3 4 * 4 5 * Copyright (C) 2002 - 2009 Paul Mundt 5 - * 6 - * This file is subject to the terms and conditions of the GNU General Public 7 - * License v2. See the file "COPYING" in the main directory of this archive 8 - * for more details. 9 6 */ 10 7 #include <linux/pci.h> 11 8 #include <linux/io.h>
+1 -3
arch/sh/drivers/pci/ops-sh5.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Support functions for the SH5 PCI hardware. 3 4 * 4 5 * Copyright (C) 2001 David J. Mckay (david.mckay@st.com) 5 6 * Copyright (C) 2003, 2004 Paul Mundt 6 7 * Copyright (C) 2004 Richard Curnow 7 - * 8 - * May be copied or modified under the terms of the GNU General Public 9 - * License. See linux/COPYING for more information. 10 8 */ 11 9 #include <linux/kernel.h> 12 10 #include <linux/rwsem.h>
+1 -4
arch/sh/drivers/pci/ops-sh7786.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Generic SH7786 PCI-Express operations. 3 4 * 4 5 * Copyright (C) 2009 - 2010 Paul Mundt 5 - * 6 - * This file is subject to the terms and conditions of the GNU General Public 7 - * License v2. See the file "COPYING" in the main directory of this archive 8 - * for more details. 9 6 */ 10 7 #include <linux/kernel.h> 11 8 #include <linux/init.h>
+1 -4
arch/sh/drivers/pci/pci-dreamcast.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * PCI support for the Sega Dreamcast 3 4 * ··· 8 7 * This file originally bore the message (with enclosed-$): 9 8 * Id: pci.c,v 1.3 2003/05/04 19:29:46 lethal Exp 10 9 * Dreamcast PCI: Supports SEGA Broadband Adaptor only. 11 - * 12 - * This file is subject to the terms and conditions of the GNU General Public 13 - * License. See the file "COPYING" in the main directory of this archive 14 - * for more details. 15 10 */ 16 11 17 12 #include <linux/sched.h>
+1 -3
arch/sh/drivers/pci/pci-sh5.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Copyright (C) 2001 David J. Mckay (david.mckay@st.com) 3 4 * Copyright (C) 2003, 2004 Paul Mundt 4 5 * Copyright (C) 2004 Richard Curnow 5 - * 6 - * May be copied or modified under the terms of the GNU General Public 7 - * License. See linux/COPYING for more information. 8 6 * 9 7 * Support functions for the SH5 PCI hardware. 10 8 */
+2 -4
arch/sh/drivers/pci/pci-sh5.h
··· 1 - /* 2 - * Copyright (C) 2001 David J. Mckay (david.mckay@st.com) 1 + /* SPDX-License-Identifier: GPL-2.0 3 2 * 4 - * May be copied or modified under the terms of the GNU General Public 5 - * License. See linux/COPYING for more information. 3 + * Copyright (C) 2001 David J. Mckay (david.mckay@st.com) 6 4 * 7 5 * Definitions for the SH5 PCI hardware. 8 6 */
+1 -4
arch/sh/drivers/pci/pci-sh7751.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Low-Level PCI Support for the SH7751 3 4 * ··· 6 5 * Copyright (C) 2001 Dustin McIntire 7 6 * 8 7 * With cleanup by Paul van Gool <pvangool@mimotech.com>, 2003. 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. 13 8 */ 14 9 #include <linux/init.h> 15 10 #include <linux/pci.h>
+2 -5
arch/sh/drivers/pci/pci-sh7751.h
··· 1 - /* 1 + /* SPDX-License-Identifier: GPL-2.0 2 + * 2 3 * Low-Level PCI Support for SH7751 targets 3 4 * 4 5 * Dustin McIntire (dustin@sensoria.com) (c) 2001 5 6 * Paul Mundt (lethal@linux-sh.org) (c) 2003 6 - * 7 - * May be copied or modified under the terms of the GNU General Public 8 - * License. See linux/COPYING for more information. 9 - * 10 7 */ 11 8 12 9 #ifndef _PCI_SH7751_H_
+1 -4
arch/sh/drivers/pci/pci-sh7780.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Low-Level PCI Support for the SH7780 3 4 * 4 5 * Copyright (C) 2005 - 2010 Paul Mundt 5 - * 6 - * This file is subject to the terms and conditions of the GNU General Public 7 - * License. See the file "COPYING" in the main directory of this archive 8 - * for more details. 9 6 */ 10 7 #include <linux/types.h> 11 8 #include <linux/kernel.h>
+2 -5
arch/sh/drivers/pci/pci-sh7780.h
··· 1 - /* 1 + /* SPDX-License-Identifier: GPL-2.0 2 + * 2 3 * Low-Level PCI Support for SH7780 targets 3 4 * 4 5 * Dustin McIntire (dustin@sensoria.com) (c) 2001 5 6 * Paul Mundt (lethal@linux-sh.org) (c) 2003 6 - * 7 - * May be copied or modified under the terms of the GNU General Public 8 - * License. See linux/COPYING for more information. 9 - * 10 7 */ 11 8 12 9 #ifndef _PCI_SH7780_H_
+1 -4
arch/sh/drivers/pci/pci.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * New-style PCI core. 3 4 * ··· 7 6 * 8 7 * Modelled after arch/mips/pci/pci.c: 9 8 * Copyright (C) 2003, 04 Ralf Baechle (ralf@linux-mips.org) 10 - * 11 - * This file is subject to the terms and conditions of the GNU General Public 12 - * License. See the file "COPYING" in the main directory of this archive 13 - * for more details. 14 9 */ 15 10 #include <linux/kernel.h> 16 11 #include <linux/mm.h>
+1 -4
arch/sh/drivers/pci/pcie-sh7786.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Low-Level PCI Express Support for the SH7786 3 4 * 4 5 * Copyright (C) 2009 - 2011 Paul Mundt 5 - * 6 - * This file is subject to the terms and conditions of the GNU General Public 7 - * License. See the file "COPYING" in the main directory of this archive 8 - * for more details. 9 6 */ 10 7 #define pr_fmt(fmt) "PCI: " fmt 11 8
+2 -5
arch/sh/drivers/pci/pcie-sh7786.h
··· 1 - /* 1 + /* SPDX-License-Identifier: GPL-2.0 2 + * 2 3 * SH7786 PCI-Express controller definitions. 3 4 * 4 5 * Copyright (C) 2008, 2009 Renesas Technology Corp. 5 6 * All rights reserved. 6 - * 7 - * This file is subject to the terms and conditions of the GNU General Public 8 - * License. See the file "COPYING" in the main directory of this archive 9 - * for more details. 10 7 */ 11 8 #ifndef __PCI_SH7786_H 12 9 #define __PCI_SH7786_H
+1 -4
arch/sh/drivers/push-switch.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Generic push-switch framework 3 4 * 4 5 * Copyright (C) 2006 Paul Mundt 5 - * 6 - * This file is subject to the terms and conditions of the GNU General Public 7 - * License. See the file "COPYING" in the main directory of this archive 8 - * for more details. 9 6 */ 10 7 #include <linux/init.h> 11 8 #include <linux/slab.h>
+1
arch/sh/drivers/superhyway/Makefile
··· 1 + # SPDX-License-Identifier: GPL-2.0 1 2 # 2 3 # Makefile for the SuperHyway specific kernel interface routines under Linux. 3 4 #
+1 -4
arch/sh/drivers/superhyway/ops-sh4-202.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * arch/sh/drivers/superhyway/ops-sh4-202.c 3 4 * 4 5 * SuperHyway bus support for SH4-202 5 6 * 6 7 * Copyright (C) 2005 Paul Mundt 7 - * 8 - * This file is subject to the terms and conditions of the GNU 9 - * General Public License. See the file "COPYING" in the main 10 - * directory of this archive for more details. 11 8 */ 12 9 #include <linux/kernel.h> 13 10 #include <linux/init.h>