diff options
author | Tom Rini <trini@konsulko.com> | 2018-05-06 17:58:06 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-07 09:34:12 -0400 |
commit | 83d290c56fab2d38cd1ab4c4cc7099559c1d5046 (patch) | |
tree | 5e5d1b40b52aaf96b707e0da2474573306d22f7b /include/linux/mtd | |
parent | 7ce85318cfff5fd82a059131761559cba7fef309 (diff) | |
download | u-boot-83d290c56fab2d38cd1ab4c4cc7099559c1d5046.tar.gz |
SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from. So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry. Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.
In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.
This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents. There's also a few places where I found we did not have a tag
and have introduced one.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r-- | include/linux/mtd/bbm.h | 3 | ||||
-rw-r--r-- | include/linux/mtd/concat.h | 3 | ||||
-rw-r--r-- | include/linux/mtd/doc2000.h | 3 | ||||
-rw-r--r-- | include/linux/mtd/flashchip.h | 3 | ||||
-rw-r--r-- | include/linux/mtd/fsl_upm.h | 3 | ||||
-rw-r--r-- | include/linux/mtd/fsmc_nand.h | 3 | ||||
-rw-r--r-- | include/linux/mtd/mtd.h | 3 | ||||
-rw-r--r-- | include/linux/mtd/nand_ecc.h | 3 | ||||
-rw-r--r-- | include/linux/mtd/omap_elm.h | 3 | ||||
-rw-r--r-- | include/linux/mtd/omap_gpmc.h | 3 | ||||
-rw-r--r-- | include/linux/mtd/rawnand.h | 3 | ||||
-rw-r--r-- | include/linux/mtd/samsung_onenand.h | 3 | ||||
-rw-r--r-- | include/linux/mtd/st_smi.h | 3 | ||||
-rw-r--r-- | include/linux/mtd/ubi.h | 3 |
14 files changed, 14 insertions, 28 deletions
diff --git a/include/linux/mtd/bbm.h b/include/linux/mtd/bbm.h index be81d3824a..7239eb1125 100644 --- a/include/linux/mtd/bbm.h +++ b/include/linux/mtd/bbm.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * linux/include/linux/mtd/bbm.h * @@ -10,8 +11,6 @@ * Copyright © 2000-2005 * Thomas Gleixner <tglx@linuxtronix.de> * - * SPDX-License-Identifier: GPL-2.0+ - * */ #ifndef __LINUX_MTD_BBM_H #define __LINUX_MTD_BBM_H diff --git a/include/linux/mtd/concat.h b/include/linux/mtd/concat.h index a374ca98e8..c57e973775 100644 --- a/include/linux/mtd/concat.h +++ b/include/linux/mtd/concat.h @@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * MTD device concatenation layer definitions * * Copyright © 2002 Robert Kaiser <rkaiser@sysgo.de> * - * SPDX-License-Identifier: GPL-2.0+ - * */ #ifndef MTD_CONCAT_H diff --git a/include/linux/mtd/doc2000.h b/include/linux/mtd/doc2000.h index a3cfe6bdd9..d57f8da810 100644 --- a/include/linux/mtd/doc2000.h +++ b/include/linux/mtd/doc2000.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Linux driver for Disk-On-Chip devices * @@ -6,8 +7,6 @@ * Copyright © 2002-2003 Greg Ungerer <gerg@snapgear.com> * Copyright © 2002-2003 SnapGear Inc * - * SPDX-License-Identifier: GPL-2.0+ - * */ #ifndef __MTD_DOC2000_H__ diff --git a/include/linux/mtd/flashchip.h b/include/linux/mtd/flashchip.h index e5c7d1cf0d..666480db93 100644 --- a/include/linux/mtd/flashchip.h +++ b/include/linux/mtd/flashchip.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright © 2000 Red Hat UK Limited * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> * - * SPDX-License-Identifier: GPL-2.0+ - * */ #ifndef __MTD_FLASHCHIP_H__ diff --git a/include/linux/mtd/fsl_upm.h b/include/linux/mtd/fsl_upm.h index a023860e7b..9999993543 100644 --- a/include/linux/mtd/fsl_upm.h +++ b/include/linux/mtd/fsl_upm.h @@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * FSL UPM NAND driver * * Copyright (C) 2007 MontaVista Software, Inc. * Anton Vorontsov <avorontsov@ru.mvista.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __LINUX_MTD_NAND_FSL_UPM diff --git a/include/linux/mtd/fsmc_nand.h b/include/linux/mtd/fsmc_nand.h index bc3db030d0..6079f9e260 100644 --- a/include/linux/mtd/fsmc_nand.h +++ b/include/linux/mtd/fsmc_nand.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2010 * Vipin Kumar, ST Micoelectronics, vipin.kumar@st.com. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __FSMC_NAND_H__ diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index ba4cbba949..0c41140465 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> et al. * - * SPDX-License-Identifier: GPL-2.0+ - * */ #ifndef __MTD_MTD_H__ diff --git a/include/linux/mtd/nand_ecc.h b/include/linux/mtd/nand_ecc.h index 02ba9f7e63..397836384c 100644 --- a/include/linux/mtd/nand_ecc.h +++ b/include/linux/mtd/nand_ecc.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * drivers/mtd/nand_ecc.h * @@ -5,8 +6,6 @@ * David Woodhouse <dwmw2@infradead.org> * Thomas Gleixner <tglx@linutronix.de> * - * SPDX-License-Identifier: GPL-2.0 - * * This file is the header for the ECC algorithm. */ diff --git a/include/linux/mtd/omap_elm.h b/include/linux/mtd/omap_elm.h index b8096b02e3..f3db00d55d 100644 --- a/include/linux/mtd/omap_elm.h +++ b/include/linux/mtd/omap_elm.h @@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2010-2011 Texas Instruments, <www.ti.com> * Mansoor Ahamed <mansoor.ahamed@ti.com> * * Derived from work done by Rohit Choraria <rohitkc@ti.com> for omap3 - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __ASM_ARCH_ELM_H #define __ASM_ARCH_ELM_H diff --git a/include/linux/mtd/omap_gpmc.h b/include/linux/mtd/omap_gpmc.h index be3ce9d203..864b05e432 100644 --- a/include/linux/mtd/omap_gpmc.h +++ b/include/linux/mtd/omap_gpmc.h @@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2004-2008 Texas Instruments, <www.ti.com> * Rohit Choraria <rohitkc@ti.com> * * (C) Copyright 2013 Andreas Bießmann <andreas@biessmann.org> - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __ASM_OMAP_GPMC_H #define __ASM_OMAP_GPMC_H diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h index 6c3e838d80..7fe553fc51 100644 --- a/include/linux/mtd/rawnand.h +++ b/include/linux/mtd/rawnand.h @@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> * Steven J. Hill <sjhill@realitydiluted.com> * Thomas Gleixner <tglx@linutronix.de> * - * SPDX-License-Identifier: GPL-2.0+ - * * Info: * Contains standard defines and IDs for NAND flash devices * diff --git a/include/linux/mtd/samsung_onenand.h b/include/linux/mtd/samsung_onenand.h index 246bcf8f3c..7774fecdf8 100644 --- a/include/linux/mtd/samsung_onenand.h +++ b/include/linux/mtd/samsung_onenand.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2005-2009 Samsung Electronics * Minkyu Kang <mk7.kang@samsung.com> * Kyungmin Park <kyungmin.park@samsung.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __SAMSUNG_ONENAND_H__ diff --git a/include/linux/mtd/st_smi.h b/include/linux/mtd/st_smi.h index 645c6a31eb..6058969787 100644 --- a/include/linux/mtd/st_smi.h +++ b/include/linux/mtd/st_smi.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2009 * Vipin Kumar, ST Micoelectronics, vipin.kumar@st.com. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef ST_SMI_H diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h index 036779b347..badf6a0c6c 100644 --- a/include/linux/mtd/ubi.h +++ b/include/linux/mtd/ubi.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) International Business Machines Corp., 2006 * - * SPDX-License-Identifier: GPL-2.0+ - * * Author: Artem Bityutskiy (Битюцкий Артём) */ |