Commit ff4a7481 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Linus Torvalds

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.comSigned-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Cc: Rich Felker <dalias@libc.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent aaf9128a
# SPDX-License-Identifier: GPL-2.0
# #
# Makefile for the SuperH DMA specific kernel interface routines under Linux. # Makefile for the SuperH DMA specific kernel interface routines under Linux.
# #
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* arch/sh/drivers/dma/dma-api.c * arch/sh/drivers/dma/dma-api.c
* *
* SuperH-specific DMA management API * SuperH-specific DMA management API
* *
* Copyright (C) 2003, 2004, 2005 Paul Mundt * Copyright (C) 2003, 2004, 2005 Paul Mundt
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#include <linux/init.h> #include <linux/init.h>
#include <linux/module.h> #include <linux/module.h>
...@@ -417,4 +414,4 @@ subsys_initcall(dma_api_init); ...@@ -417,4 +414,4 @@ subsys_initcall(dma_api_init);
MODULE_AUTHOR("Paul Mundt <lethal@linux-sh.org>"); MODULE_AUTHOR("Paul Mundt <lethal@linux-sh.org>");
MODULE_DESCRIPTION("DMA API for SuperH"); MODULE_DESCRIPTION("DMA API for SuperH");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL v2");
// SPDX-License-Identifier: GPL-2.0
/* /*
* arch/sh/drivers/dma/dma-g2.c * arch/sh/drivers/dma/dma-g2.c
* *
* G2 bus DMA support * G2 bus DMA support
* *
* Copyright (C) 2003 - 2006 Paul Mundt * Copyright (C) 2003 - 2006 Paul Mundt
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#include <linux/init.h> #include <linux/init.h>
#include <linux/kernel.h> #include <linux/kernel.h>
...@@ -197,4 +194,4 @@ module_exit(g2_dma_exit); ...@@ -197,4 +194,4 @@ module_exit(g2_dma_exit);
MODULE_AUTHOR("Paul Mundt <lethal@linux-sh.org>"); MODULE_AUTHOR("Paul Mundt <lethal@linux-sh.org>");
MODULE_DESCRIPTION("G2 bus DMA driver"); MODULE_DESCRIPTION("G2 bus DMA driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL v2");
// SPDX-License-Identifier: GPL-2.0
/* /*
* arch/sh/drivers/dma/dma-pvr2.c * arch/sh/drivers/dma/dma-pvr2.c
* *
* NEC PowerVR 2 (Dreamcast) DMA support * NEC PowerVR 2 (Dreamcast) DMA support
* *
* Copyright (C) 2003, 2004 Paul Mundt * Copyright (C) 2003, 2004 Paul Mundt
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#include <linux/init.h> #include <linux/init.h>
#include <linux/kernel.h> #include <linux/kernel.h>
...@@ -105,4 +102,4 @@ module_exit(pvr2_dma_exit); ...@@ -105,4 +102,4 @@ module_exit(pvr2_dma_exit);
MODULE_AUTHOR("Paul Mundt <lethal@linux-sh.org>"); MODULE_AUTHOR("Paul Mundt <lethal@linux-sh.org>");
MODULE_DESCRIPTION("NEC PowerVR 2 DMA driver"); MODULE_DESCRIPTION("NEC PowerVR 2 DMA driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL v2");
// SPDX-License-Identifier: GPL-2.0
/* /*
* arch/sh/drivers/dma/dma-sh.c * arch/sh/drivers/dma/dma-sh.c
* *
...@@ -6,10 +7,6 @@ ...@@ -6,10 +7,6 @@
* Copyright (C) 2000 Takashi YOSHII * Copyright (C) 2000 Takashi YOSHII
* Copyright (C) 2003, 2004 Paul Mundt * Copyright (C) 2003, 2004 Paul Mundt
* Copyright (C) 2005 Andriy Skulysh * Copyright (C) 2005 Andriy Skulysh
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#include <linux/init.h> #include <linux/init.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
...@@ -414,4 +411,4 @@ module_exit(sh_dmac_exit); ...@@ -414,4 +411,4 @@ module_exit(sh_dmac_exit);
MODULE_AUTHOR("Takashi YOSHII, Paul Mundt, Andriy Skulysh"); MODULE_AUTHOR("Takashi YOSHII, Paul Mundt, Andriy Skulysh");
MODULE_DESCRIPTION("SuperH On-Chip DMAC Support"); MODULE_DESCRIPTION("SuperH On-Chip DMAC Support");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL v2");
// SPDX-License-Identifier: GPL-2.0
/* /*
* arch/sh/drivers/dma/dma-sysfs.c * arch/sh/drivers/dma/dma-sysfs.c
* *
* sysfs interface for SH DMA API * sysfs interface for SH DMA API
* *
* Copyright (C) 2004 - 2006 Paul Mundt * Copyright (C) 2004 - 2006 Paul Mundt
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* SH7760 DMABRG IRQ handling * SH7760 DMABRG IRQ handling
* *
* (c) 2007 MSC Vertriebsges.m.b.H, Manuel Lauss <mlau@msc-ge.com> * (c) 2007 MSC Vertriebsges.m.b.H, Manuel Lauss <mlau@msc-ge.com>
* licensed under the GPLv2.
*
*/ */
#include <linux/interrupt.h> #include <linux/interrupt.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Generic heartbeat driver for regular LED banks * Generic heartbeat driver for regular LED banks
* *
...@@ -13,10 +14,6 @@ ...@@ -13,10 +14,6 @@
* traditionally used for strobing the load average. This use case is * traditionally used for strobing the load average. This use case is
* handled by this driver, rather than giving each LED bit position its * handled by this driver, rather than giving each LED bit position its
* own struct device. * own struct device.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#include <linux/init.h> #include <linux/init.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* arch/sh/drivers/pci/fixups-dreamcast.c * arch/sh/drivers/pci/fixups-dreamcast.c
* *
...@@ -9,10 +10,6 @@ ...@@ -9,10 +10,6 @@
* This file originally bore the message (with enclosed-$): * This file originally bore the message (with enclosed-$):
* Id: pci.c,v 1.3 2003/05/04 19:29:46 lethal Exp * Id: pci.c,v 1.3 2003/05/04 19:29:46 lethal Exp
* Dreamcast PCI: Supports SEGA Broadband Adaptor only. * Dreamcast PCI: Supports SEGA Broadband Adaptor only.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#include <linux/sched.h> #include <linux/sched.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* arch/sh/drivers/pci/fixups-landisk.c * arch/sh/drivers/pci/fixups-landisk.c
* *
...@@ -5,9 +6,6 @@ ...@@ -5,9 +6,6 @@
* *
* Copyright (C) 2006 kogiidena * Copyright (C) 2006 kogiidena
* Copyright (C) 2010 Nobuhiro Iwamatsu * Copyright (C) 2010 Nobuhiro Iwamatsu
*
* May be copied or modified under the terms of the GNU General Public
* License. See linux/COPYING for more information.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/types.h> #include <linux/types.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* arch/sh/drivers/pci/fixups-r7780rp.c * arch/sh/drivers/pci/fixups-r7780rp.c
* *
...@@ -5,10 +6,6 @@ ...@@ -5,10 +6,6 @@
* *
* Copyright (C) 2003 Lineo uSolutions, Inc. * Copyright (C) 2003 Lineo uSolutions, Inc.
* Copyright (C) 2004 - 2006 Paul Mundt * Copyright (C) 2004 - 2006 Paul Mundt
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/io.h> #include <linux/io.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* arch/sh/drivers/pci/fixups-rts7751r2d.c * arch/sh/drivers/pci/fixups-rts7751r2d.c
* *
...@@ -6,10 +7,6 @@ ...@@ -6,10 +7,6 @@
* Copyright (C) 2003 Lineo uSolutions, Inc. * Copyright (C) 2003 Lineo uSolutions, Inc.
* Copyright (C) 2004 Paul Mundt * Copyright (C) 2004 Paul Mundt
* Copyright (C) 2007 Nobuhiro Iwamatsu * Copyright (C) 2007 Nobuhiro Iwamatsu
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#include <linux/pci.h> #include <linux/pci.h>
#include <mach/lboxre2.h> #include <mach/lboxre2.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* arch/sh/drivers/pci/fixups-sdk7780.c * arch/sh/drivers/pci/fixups-sdk7780.c
* *
...@@ -6,10 +7,6 @@ ...@@ -6,10 +7,6 @@
* Copyright (C) 2003 Lineo uSolutions, Inc. * Copyright (C) 2003 Lineo uSolutions, Inc.
* Copyright (C) 2004 - 2006 Paul Mundt * Copyright (C) 2004 - 2006 Paul Mundt
* Copyright (C) 2006 Nobuhiro Iwamatsu * Copyright (C) 2006 Nobuhiro Iwamatsu
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/io.h> #include <linux/io.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* SDK7786 FPGA PCIe mux handling * SDK7786 FPGA PCIe mux handling
* *
* Copyright (C) 2010 Paul Mundt * Copyright (C) 2010 Paul Mundt
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#define pr_fmt(fmt) "PCI: " fmt #define pr_fmt(fmt) "PCI: " fmt
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* arch/sh/drivers/pci/ops-snapgear.c * arch/sh/drivers/pci/ops-snapgear.c
* *
...@@ -7,9 +8,6 @@ ...@@ -7,9 +8,6 @@
* *
* Highly leveraged from pci-bigsur.c, written by Dustin McIntire. * Highly leveraged from pci-bigsur.c, written by Dustin McIntire.
* *
* May be copied or modified under the terms of the GNU General Public
* License. See linux/COPYING for more information.
*
* PCI initialization for the SnapGear boards * PCI initialization for the SnapGear boards
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* arch/sh/drivers/pci/ops-titan.c * arch/sh/drivers/pci/ops-titan.c
* *
...@@ -6,9 +7,6 @@ ...@@ -6,9 +7,6 @@
* Modified from ops-snapgear.c written by David McCullough * Modified from ops-snapgear.c written by David McCullough
* Highly leveraged from pci-bigsur.c, written by Dustin McIntire. * Highly leveraged from pci-bigsur.c, written by Dustin McIntire.
* *
* May be copied or modified under the terms of the GNU General Public
* License. See linux/COPYING for more information.
*
* PCI initialization for the Titan boards * PCI initialization for the Titan boards
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* PCI operations for the Sega Dreamcast * PCI operations for the Sega Dreamcast
* *
* Copyright (C) 2001, 2002 M. R. Brown * Copyright (C) 2001, 2002 M. R. Brown
* Copyright (C) 2002, 2003 Paul Mundt * Copyright (C) 2002, 2003 Paul Mundt
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#include <linux/sched.h> #include <linux/sched.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Generic SH-4 / SH-4A PCIC operations (SH7751, SH7780). * Generic SH-4 / SH-4A PCIC operations (SH7751, SH7780).
* *
* Copyright (C) 2002 - 2009 Paul Mundt * Copyright (C) 2002 - 2009 Paul Mundt
*
* This file is subject to the terms and conditions of the GNU General Public
* License v2. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/io.h> #include <linux/io.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Support functions for the SH5 PCI hardware. * Support functions for the SH5 PCI hardware.
* *
* Copyright (C) 2001 David J. Mckay (david.mckay@st.com) * Copyright (C) 2001 David J. Mckay (david.mckay@st.com)
* Copyright (C) 2003, 2004 Paul Mundt * Copyright (C) 2003, 2004 Paul Mundt
* Copyright (C) 2004 Richard Curnow * Copyright (C) 2004 Richard Curnow
*
* May be copied or modified under the terms of the GNU General Public
* License. See linux/COPYING for more information.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/rwsem.h> #include <linux/rwsem.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Generic SH7786 PCI-Express operations. * Generic SH7786 PCI-Express operations.
* *
* Copyright (C) 2009 - 2010 Paul Mundt * Copyright (C) 2009 - 2010 Paul Mundt
*
* This file is subject to the terms and conditions of the GNU General Public
* License v2. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* PCI support for the Sega Dreamcast * PCI support for the Sega Dreamcast
* *
...@@ -7,10 +8,6 @@ ...@@ -7,10 +8,6 @@
* This file originally bore the message (with enclosed-$): * This file originally bore the message (with enclosed-$):
* Id: pci.c,v 1.3 2003/05/04 19:29:46 lethal Exp * Id: pci.c,v 1.3 2003/05/04 19:29:46 lethal Exp
* Dreamcast PCI: Supports SEGA Broadband Adaptor only. * Dreamcast PCI: Supports SEGA Broadband Adaptor only.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#include <linux/sched.h> #include <linux/sched.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Copyright (C) 2001 David J. Mckay (david.mckay@st.com) * Copyright (C) 2001 David J. Mckay (david.mckay@st.com)
* Copyright (C) 2003, 2004 Paul Mundt * Copyright (C) 2003, 2004 Paul Mundt
* Copyright (C) 2004 Richard Curnow * Copyright (C) 2004 Richard Curnow
* *
* May be copied or modified under the terms of the GNU General Public
* License. See linux/COPYING for more information.
*
* Support functions for the SH5 PCI hardware. * Support functions for the SH5 PCI hardware.
*/ */
......
/* /* SPDX-License-Identifier: GPL-2.0
* Copyright (C) 2001 David J. Mckay (david.mckay@st.com)
* *
* May be copied or modified under the terms of the GNU General Public * Copyright (C) 2001 David J. Mckay (david.mckay@st.com)
* License. See linux/COPYING for more information.
* *
* Definitions for the SH5 PCI hardware. * Definitions for the SH5 PCI hardware.
*/ */
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Low-Level PCI Support for the SH7751 * Low-Level PCI Support for the SH7751
* *
...@@ -5,10 +6,6 @@ ...@@ -5,10 +6,6 @@
* Copyright (C) 2001 Dustin McIntire * Copyright (C) 2001 Dustin McIntire
* *
* With cleanup by Paul van Gool <pvangool@mimotech.com>, 2003. * With cleanup by Paul van Gool <pvangool@mimotech.com>, 2003.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#include <linux/init.h> #include <linux/init.h>
#include <linux/pci.h> #include <linux/pci.h>
......
/* /* SPDX-License-Identifier: GPL-2.0
*
* Low-Level PCI Support for SH7751 targets * Low-Level PCI Support for SH7751 targets
* *
* Dustin McIntire (dustin@sensoria.com) (c) 2001 * Dustin McIntire (dustin@sensoria.com) (c) 2001
* Paul Mundt (lethal@linux-sh.org) (c) 2003 * Paul Mundt (lethal@linux-sh.org) (c) 2003
*
* May be copied or modified under the terms of the GNU General Public
* License. See linux/COPYING for more information.
*
*/ */
#ifndef _PCI_SH7751_H_ #ifndef _PCI_SH7751_H_
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Low-Level PCI Support for the SH7780 * Low-Level PCI Support for the SH7780
* *
* Copyright (C) 2005 - 2010 Paul Mundt * Copyright (C) 2005 - 2010 Paul Mundt
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#include <linux/types.h> #include <linux/types.h>
#include <linux/kernel.h> #include <linux/kernel.h>
......
/* /* SPDX-License-Identifier: GPL-2.0
*
* Low-Level PCI Support for SH7780 targets * Low-Level PCI Support for SH7780 targets
* *
* Dustin McIntire (dustin@sensoria.com) (c) 2001 * Dustin McIntire (dustin@sensoria.com) (c) 2001
* Paul Mundt (lethal@linux-sh.org) (c) 2003 * Paul Mundt (lethal@linux-sh.org) (c) 2003
*
* May be copied or modified under the terms of the GNU General Public
* License. See linux/COPYING for more information.
*
*/ */
#ifndef _PCI_SH7780_H_ #ifndef _PCI_SH7780_H_
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* New-style PCI core. * New-style PCI core.
* *
...@@ -6,10 +7,6 @@ ...@@ -6,10 +7,6 @@
* *
* Modelled after arch/mips/pci/pci.c: * Modelled after arch/mips/pci/pci.c:
* Copyright (C) 2003, 04 Ralf Baechle (ralf@linux-mips.org) * Copyright (C) 2003, 04 Ralf Baechle (ralf@linux-mips.org)
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/mm.h> #include <linux/mm.h>
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Low-Level PCI Express Support for the SH7786 * Low-Level PCI Express Support for the SH7786
* *
* Copyright (C) 2009 - 2011 Paul Mundt * Copyright (C) 2009 - 2011 Paul Mundt
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#define pr_fmt(fmt) "PCI: " fmt #define pr_fmt(fmt) "PCI: " fmt
......
/* /* SPDX-License-Identifier: GPL-2.0
*
* SH7786 PCI-Express controller definitions. * SH7786 PCI-Express controller definitions.
* *
* Copyright (C) 2008, 2009 Renesas Technology Corp. * Copyright (C) 2008, 2009 Renesas Technology Corp.
* All rights reserved. * All rights reserved.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#ifndef __PCI_SH7786_H #ifndef __PCI_SH7786_H
#define __PCI_SH7786_H #define __PCI_SH7786_H
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Generic push-switch framework * Generic push-switch framework
* *
* Copyright (C) 2006 Paul Mundt * Copyright (C) 2006 Paul Mundt
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/ */
#include <linux/init.h> #include <linux/init.h>
#include <linux/slab.h> #include <linux/slab.h>
......
# SPDX-License-Identifier: GPL-2.0
# #
# Makefile for the SuperHyway specific kernel interface routines under Linux. # Makefile for the SuperHyway specific kernel interface routines under Linux.
# #
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* arch/sh/drivers/superhyway/ops-sh4-202.c * arch/sh/drivers/superhyway/ops-sh4-202.c
* *
* SuperHyway bus support for SH4-202 * SuperHyway bus support for SH4-202
* *
* Copyright (C) 2005 Paul Mundt * Copyright (C) 2005 Paul Mundt
*
* This file is subject to the terms and conditions of the GNU
* General Public License. See the file "COPYING" in the main
* directory of this archive for more details.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment