diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-06-04 04:11:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-19 11:09:55 -0400 |
commit | d2912cb15bdda8ba4a5dd73396ad62641af2f520 (patch) | |
tree | ff723089c8673e3f99df3ddcdaeae7a52bd6fdac /drivers/mtd/nand | |
parent | 20c8ccb1975b8d5639789d1025ad6ada38bd6f48 (diff) |
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
Based on 2 normalized pattern(s):
this program is free software you can redistribute it and or modify
it under the terms of the gnu general public license version 2 as
published by the free software foundation
this program is free software you can redistribute it and or modify
it under the terms of the gnu general public license version 2 as
published by the free software foundation #
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4122 file(s).
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Enrico Weigelt <info@metux.net>
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Allison Randal <allison@lohutok.net>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mtd/nand')
27 files changed, 27 insertions, 121 deletions
diff --git a/drivers/mtd/nand/onenand/generic.c b/drivers/mtd/nand/onenand/generic.c index acad17ec6581..8b6f4da5d720 100644 --- a/drivers/mtd/nand/onenand/generic.c +++ b/drivers/mtd/nand/onenand/generic.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2005 Samsung Electronics | 3 | * Copyright (c) 2005 Samsung Electronics |
3 | * Kyungmin Park <kyungmin.park@samsung.com> | 4 | * Kyungmin Park <kyungmin.park@samsung.com> |
4 | * | 5 | * |
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | * | ||
9 | * Overview: | 6 | * Overview: |
10 | * This is a device driver for the OneNAND flash for generic boards. | 7 | * This is a device driver for the OneNAND flash for generic boards. |
11 | */ | 8 | */ |
diff --git a/drivers/mtd/nand/onenand/onenand_base.c b/drivers/mtd/nand/onenand/onenand_base.c index f41d76248550..d759c02d9cb2 100644 --- a/drivers/mtd/nand/onenand/onenand_base.c +++ b/drivers/mtd/nand/onenand/onenand_base.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright © 2005-2009 Samsung Electronics | 3 | * Copyright © 2005-2009 Samsung Electronics |
3 | * Copyright © 2007 Nokia Corporation | 4 | * Copyright © 2007 Nokia Corporation |
@@ -12,10 +13,6 @@ | |||
12 | * Flex-OneNAND support | 13 | * Flex-OneNAND support |
13 | * Amul Kumar Saha <amul.saha at samsung.com> | 14 | * Amul Kumar Saha <amul.saha at samsung.com> |
14 | * OTP support | 15 | * OTP support |
15 | * | ||
16 | * This program is free software; you can redistribute it and/or modify | ||
17 | * it under the terms of the GNU General Public License version 2 as | ||
18 | * published by the Free Software Foundation. | ||
19 | */ | 16 | */ |
20 | 17 | ||
21 | #include <linux/kernel.h> | 18 | #include <linux/kernel.h> |
diff --git a/drivers/mtd/nand/onenand/samsung.c b/drivers/mtd/nand/onenand/samsung.c index e64d0fdf7eb5..55e5536a5850 100644 --- a/drivers/mtd/nand/onenand/samsung.c +++ b/drivers/mtd/nand/onenand/samsung.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Samsung S3C64XX/S5PC1XX OneNAND driver | 3 | * Samsung S3C64XX/S5PC1XX OneNAND driver |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * Kyungmin Park <kyungmin.park@samsung.com> | 6 | * Kyungmin Park <kyungmin.park@samsung.com> |
6 | * Marek Szyprowski <m.szyprowski@samsung.com> | 7 | * Marek Szyprowski <m.szyprowski@samsung.com> |
7 | * | 8 | * |
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | * | ||
12 | * Implementation: | 9 | * Implementation: |
13 | * S3C64XX: emulate the pseudo BufferRAM | 10 | * S3C64XX: emulate the pseudo BufferRAM |
14 | * S5PC110: use DMA | 11 | * S5PC110: use DMA |
diff --git a/drivers/mtd/nand/onenand/samsung.h b/drivers/mtd/nand/onenand/samsung.h index 9016dc0136a8..892bbb6ca4fe 100644 --- a/drivers/mtd/nand/onenand/samsung.h +++ b/drivers/mtd/nand/onenand/samsung.h | |||
@@ -1,10 +1,7 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2008-2010 Samsung Electronics | 3 | * Copyright (C) 2008-2010 Samsung Electronics |
3 | * Kyungmin Park <kyungmin.park@samsung.com> | 4 | * Kyungmin Park <kyungmin.park@samsung.com> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | #ifndef __SAMSUNG_ONENAND_H__ | 6 | #ifndef __SAMSUNG_ONENAND_H__ |
10 | #define __SAMSUNG_ONENAND_H__ | 7 | #define __SAMSUNG_ONENAND_H__ |
diff --git a/drivers/mtd/nand/raw/au1550nd.c b/drivers/mtd/nand/raw/au1550nd.c index a963002663ed..97a97a9ccc36 100644 --- a/drivers/mtd/nand/raw/au1550nd.c +++ b/drivers/mtd/nand/raw/au1550nd.c | |||
@@ -1,10 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2004 Embedded Edge, LLC | 3 | * Copyright (C) 2004 Embedded Edge, LLC |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | */ | 4 | */ |
9 | 5 | ||
10 | #include <linux/slab.h> | 6 | #include <linux/slab.h> |
diff --git a/drivers/mtd/nand/raw/bcm47xxnflash/main.c b/drivers/mtd/nand/raw/bcm47xxnflash/main.c index d79694160845..8dae97c1dbe7 100644 --- a/drivers/mtd/nand/raw/bcm47xxnflash/main.c +++ b/drivers/mtd/nand/raw/bcm47xxnflash/main.c | |||
@@ -1,12 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * BCM47XX NAND flash driver | 3 | * BCM47XX NAND flash driver |
3 | * | 4 | * |
4 | * Copyright (C) 2012 Rafał Miłecki <zajec5@gmail.com> | 5 | * Copyright (C) 2012 Rafał Miłecki <zajec5@gmail.com> |
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 version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | */ | 6 | */ |
11 | 7 | ||
12 | #include "bcm47xxnflash.h" | 8 | #include "bcm47xxnflash.h" |
diff --git a/drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c b/drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c index a53ffb3d64b0..591775173034 100644 --- a/drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c +++ b/drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c | |||
@@ -1,12 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * BCM47XX NAND flash driver | 3 | * BCM47XX NAND flash driver |
3 | * | 4 | * |
4 | * Copyright (C) 2012 Rafał Miłecki <zajec5@gmail.com> | 5 | * Copyright (C) 2012 Rafał Miłecki <zajec5@gmail.com> |
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 version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | */ | 6 | */ |
11 | 7 | ||
12 | #include "bcm47xxnflash.h" | 8 | #include "bcm47xxnflash.h" |
diff --git a/drivers/mtd/nand/raw/cmx270_nand.c b/drivers/mtd/nand/raw/cmx270_nand.c index 143e4acacaae..045b6175ae79 100644 --- a/drivers/mtd/nand/raw/cmx270_nand.c +++ b/drivers/mtd/nand/raw/cmx270_nand.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2006 Compulab, Ltd. | 3 | * Copyright (C) 2006 Compulab, Ltd. |
3 | * Mike Rapoport <mike@compulab.co.il> | 4 | * Mike Rapoport <mike@compulab.co.il> |
@@ -6,11 +7,6 @@ | |||
6 | * Copyright (C) 2002 Marius Gröger (mag@sysgo.de) | 7 | * Copyright (C) 2002 Marius Gröger (mag@sysgo.de) |
7 | * Copyright (c) 2001 Thomas Gleixner (gleixner@autronix.de) | 8 | * Copyright (c) 2001 Thomas Gleixner (gleixner@autronix.de) |
8 | * | 9 | * |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | * | ||
14 | * Overview: | 10 | * Overview: |
15 | * This is a device driver for the NAND flash device found on the | 11 | * This is a device driver for the NAND flash device found on the |
16 | * CM-X270 board. | 12 | * CM-X270 board. |
diff --git a/drivers/mtd/nand/raw/cs553x_nand.c b/drivers/mtd/nand/raw/cs553x_nand.c index c6f578aff5d9..e2322cee3229 100644 --- a/drivers/mtd/nand/raw/cs553x_nand.c +++ b/drivers/mtd/nand/raw/cs553x_nand.c | |||
@@ -1,19 +1,15 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * (C) 2005, 2006 Red Hat Inc. | 3 | * (C) 2005, 2006 Red Hat Inc. |
3 | * | 4 | * |
4 | * Author: David Woodhouse <dwmw2@infradead.org> | 5 | * Author: David Woodhouse <dwmw2@infradead.org> |
5 | * Tom Sylla <tom.sylla@amd.com> | 6 | * Tom Sylla <tom.sylla@amd.com> |
6 | * | 7 | * |
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | * Overview: | 8 | * Overview: |
12 | * This is a device driver for the NAND flash controller found on | 9 | * This is a device driver for the NAND flash controller found on |
13 | * the AMD CS5535/CS5536 companion chipsets for the Geode processor. | 10 | * the AMD CS5535/CS5536 companion chipsets for the Geode processor. |
14 | * mtd-id for command line partitioning is cs553x_nand_cs[0-3] | 11 | * mtd-id for command line partitioning is cs553x_nand_cs[0-3] |
15 | * where 0-3 reflects the chip select for NAND. | 12 | * where 0-3 reflects the chip select for NAND. |
16 | * | ||
17 | */ | 13 | */ |
18 | 14 | ||
19 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
diff --git a/drivers/mtd/nand/raw/gpio.c b/drivers/mtd/nand/raw/gpio.c index a6c9a824a7d4..f6b12354024f 100644 --- a/drivers/mtd/nand/raw/gpio.c +++ b/drivers/mtd/nand/raw/gpio.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Updated, and converted to generic GPIO based driver by Russell King. | 3 | * Updated, and converted to generic GPIO based driver by Russell King. |
3 | * | 4 | * |
@@ -9,11 +10,6 @@ | |||
9 | * Device driver for NAND flash that uses a memory mapped interface to | 10 | * Device driver for NAND flash that uses a memory mapped interface to |
10 | * read/write the NAND commands and data, and GPIO pins for control signals | 11 | * read/write the NAND commands and data, and GPIO pins for control signals |
11 | * (the DT binding refers to this as "GPIO assisted NAND flash") | 12 | * (the DT binding refers to this as "GPIO assisted NAND flash") |
12 | * | ||
13 | * This program is free software; you can redistribute it and/or modify | ||
14 | * it under the terms of the GNU General Public License version 2 as | ||
15 | * published by the Free Software Foundation. | ||
16 | * | ||
17 | */ | 13 | */ |
18 | 14 | ||
19 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
diff --git a/drivers/mtd/nand/raw/mtk_ecc.h b/drivers/mtd/nand/raw/mtk_ecc.h index a455df080952..aa52e94c771d 100644 --- a/drivers/mtd/nand/raw/mtk_ecc.h +++ b/drivers/mtd/nand/raw/mtk_ecc.h | |||
@@ -1,12 +1,10 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * MTK SDG1 ECC controller | 3 | * MTK SDG1 ECC controller |
3 | * | 4 | * |
4 | * Copyright (c) 2016 Mediatek | 5 | * Copyright (c) 2016 Mediatek |
5 | * Authors: Xiaolei Li <xiaolei.li@mediatek.com> | 6 | * Authors: Xiaolei Li <xiaolei.li@mediatek.com> |
6 | * Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> | 7 | * Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> |
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License version 2 as published | ||
9 | * by the Free Software Foundation. | ||
10 | */ | 8 | */ |
11 | 9 | ||
12 | #ifndef __DRIVERS_MTD_NAND_MTK_ECC_H__ | 10 | #ifndef __DRIVERS_MTD_NAND_MTK_ECC_H__ |
diff --git a/drivers/mtd/nand/raw/nand_base.c b/drivers/mtd/nand/raw/nand_base.c index 2cf71060d6f8..b5b68aa16eb3 100644 --- a/drivers/mtd/nand/raw/nand_base.c +++ b/drivers/mtd/nand/raw/nand_base.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Overview: | 3 | * Overview: |
3 | * This is the generic MTD driver for NAND flash devices. It should be | 4 | * This is the generic MTD driver for NAND flash devices. It should be |
@@ -20,11 +21,6 @@ | |||
20 | * Check, if mtd->ecctype should be set to MTD_ECC_HW | 21 | * Check, if mtd->ecctype should be set to MTD_ECC_HW |
21 | * if we have HW ECC support. | 22 | * if we have HW ECC support. |
22 | * BBT table is not serialized, has to be fixed | 23 | * BBT table is not serialized, has to be fixed |
23 | * | ||
24 | * This program is free software; you can redistribute it and/or modify | ||
25 | * it under the terms of the GNU General Public License version 2 as | ||
26 | * published by the Free Software Foundation. | ||
27 | * | ||
28 | */ | 24 | */ |
29 | 25 | ||
30 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 26 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/mtd/nand/raw/nand_bbt.c b/drivers/mtd/nand/raw/nand_bbt.c index fd3c10216eda..2ef15ef94525 100644 --- a/drivers/mtd/nand/raw/nand_bbt.c +++ b/drivers/mtd/nand/raw/nand_bbt.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Overview: | 3 | * Overview: |
3 | * Bad block table support for the NAND driver | 4 | * Bad block table support for the NAND driver |
4 | * | 5 | * |
5 | * Copyright © 2004 Thomas Gleixner (tglx@linutronix.de) | 6 | * Copyright © 2004 Thomas Gleixner (tglx@linutronix.de) |
6 | * | 7 | * |
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | * Description: | 8 | * Description: |
12 | * | 9 | * |
13 | * When nand_scan_bbt is called, then it tries to find the bad block table | 10 | * When nand_scan_bbt is called, then it tries to find the bad block table |
@@ -54,7 +51,6 @@ | |||
54 | * Following assumptions are made: | 51 | * Following assumptions are made: |
55 | * - bbts start at a page boundary, if autolocated on a block boundary | 52 | * - bbts start at a page boundary, if autolocated on a block boundary |
56 | * - the space necessary for a bbt in FLASH does not exceed a block boundary | 53 | * - the space necessary for a bbt in FLASH does not exceed a block boundary |
57 | * | ||
58 | */ | 54 | */ |
59 | 55 | ||
60 | #include <linux/slab.h> | 56 | #include <linux/slab.h> |
diff --git a/drivers/mtd/nand/raw/nand_ids.c b/drivers/mtd/nand/raw/nand_ids.c index ea5a342cd91e..ba27902fc54b 100644 --- a/drivers/mtd/nand/raw/nand_ids.c +++ b/drivers/mtd/nand/raw/nand_ids.c | |||
@@ -1,10 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2002 Thomas Gleixner (tglx@linutronix.de) | 3 | * Copyright (C) 2002 Thomas Gleixner (tglx@linutronix.de) |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | */ | 4 | */ |
9 | 5 | ||
10 | #include <linux/sizes.h> | 6 | #include <linux/sizes.h> |
diff --git a/drivers/mtd/nand/raw/nand_timings.c b/drivers/mtd/nand/raw/nand_timings.c index bea3062d71d6..f64b06a71dfa 100644 --- a/drivers/mtd/nand/raw/nand_timings.c +++ b/drivers/mtd/nand/raw/nand_timings.c | |||
@@ -1,12 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2014 Free Electrons | 3 | * Copyright (C) 2014 Free Electrons |
3 | * | 4 | * |
4 | * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> | 5 | * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> |
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 version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | */ | 6 | */ |
11 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
12 | #include <linux/err.h> | 8 | #include <linux/err.h> |
diff --git a/drivers/mtd/nand/raw/omap2.c b/drivers/mtd/nand/raw/omap2.c index a9a275342a41..8d881a28140e 100644 --- a/drivers/mtd/nand/raw/omap2.c +++ b/drivers/mtd/nand/raw/omap2.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright © 2004 Texas Instruments, Jian Zhang <jzhang@ti.com> | 3 | * Copyright © 2004 Texas Instruments, Jian Zhang <jzhang@ti.com> |
3 | * Copyright © 2004 Micron Technology Inc. | 4 | * Copyright © 2004 Micron Technology Inc. |
4 | * Copyright © 2004 David Brownell | 5 | * Copyright © 2004 David Brownell |
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 version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/platform_device.h> | 8 | #include <linux/platform_device.h> |
diff --git a/drivers/mtd/nand/raw/oxnas_nand.c b/drivers/mtd/nand/raw/oxnas_nand.c index 0e52dc29141c..30c51f772de6 100644 --- a/drivers/mtd/nand/raw/oxnas_nand.c +++ b/drivers/mtd/nand/raw/oxnas_nand.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Oxford Semiconductor OXNAS NAND driver | 3 | * Oxford Semiconductor OXNAS NAND driver |
3 | 4 | ||
@@ -6,11 +7,6 @@ | |||
6 | * Author: Vitaly Wool <vitalywool@gmail.com> | 7 | * Author: Vitaly Wool <vitalywool@gmail.com> |
7 | * Copyright (C) 2013 Ma Haijun <mahaijuns@gmail.com> | 8 | * Copyright (C) 2013 Ma Haijun <mahaijuns@gmail.com> |
8 | * Copyright (C) 2012 John Crispin <blogic@openwrt.org> | 9 | * Copyright (C) 2012 John Crispin <blogic@openwrt.org> |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | * | ||
14 | */ | 10 | */ |
15 | 11 | ||
16 | #include <linux/err.h> | 12 | #include <linux/err.h> |
diff --git a/drivers/mtd/nand/raw/plat_nand.c b/drivers/mtd/nand/raw/plat_nand.c index a994b76daa50..dc0f3074ddbf 100644 --- a/drivers/mtd/nand/raw/plat_nand.c +++ b/drivers/mtd/nand/raw/plat_nand.c | |||
@@ -1,12 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Generic NAND driver | 3 | * Generic NAND driver |
3 | * | 4 | * |
4 | * Author: Vitaly Wool <vitalywool@gmail.com> | 5 | * Author: Vitaly Wool <vitalywool@gmail.com> |
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 version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | */ | 6 | */ |
11 | 7 | ||
12 | #include <linux/err.h> | 8 | #include <linux/err.h> |
diff --git a/drivers/mtd/nand/raw/r852.c b/drivers/mtd/nand/raw/r852.c index 7b99831aa046..dae0d235bb17 100644 --- a/drivers/mtd/nand/raw/r852.c +++ b/drivers/mtd/nand/raw/r852.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright © 2009 - Maxim Levitsky | 3 | * Copyright © 2009 - Maxim Levitsky |
3 | * driver for Ricoh xD readers | 4 | * driver for Ricoh xD readers |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #define DRV_NAME "r852" | 7 | #define DRV_NAME "r852" |
diff --git a/drivers/mtd/nand/raw/r852.h b/drivers/mtd/nand/raw/r852.h index bc67f5bf67e8..e9ce299c499d 100644 --- a/drivers/mtd/nand/raw/r852.h +++ b/drivers/mtd/nand/raw/r852.h | |||
@@ -1,10 +1,7 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Copyright © 2009 - Maxim Levitsky | 3 | * Copyright © 2009 - Maxim Levitsky |
3 | * driver for Ricoh xD readers | 4 | * driver for Ricoh xD readers |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/pci.h> | 7 | #include <linux/pci.h> |
diff --git a/drivers/mtd/nand/raw/sharpsl.c b/drivers/mtd/nand/raw/sharpsl.c index c82f26c8b58c..b47a9eaff89b 100644 --- a/drivers/mtd/nand/raw/sharpsl.c +++ b/drivers/mtd/nand/raw/sharpsl.c | |||
@@ -1,13 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2004 Richard Purdie | 3 | * Copyright (C) 2004 Richard Purdie |
3 | * Copyright (C) 2008 Dmitry Baryshkov | 4 | * Copyright (C) 2008 Dmitry Baryshkov |
4 | * | 5 | * |
5 | * Based on Sharp's NAND driver sharp_sl.c | 6 | * Based on Sharp's NAND driver sharp_sl.c |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | */ | 7 | */ |
12 | 8 | ||
13 | #include <linux/genhd.h> | 9 | #include <linux/genhd.h> |
diff --git a/drivers/mtd/nand/raw/sm_common.c b/drivers/mtd/nand/raw/sm_common.c index 409d036858dc..ba24cb36d0b9 100644 --- a/drivers/mtd/nand/raw/sm_common.c +++ b/drivers/mtd/nand/raw/sm_common.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright © 2009 - Maxim Levitsky | 3 | * Copyright © 2009 - Maxim Levitsky |
3 | * Common routines & support for xD format | 4 | * Common routines & support for xD format |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
10 | #include <linux/mtd/rawnand.h> | 7 | #include <linux/mtd/rawnand.h> |
diff --git a/drivers/mtd/nand/raw/sm_common.h b/drivers/mtd/nand/raw/sm_common.h index 1581671b05ae..57fc9f86f9ee 100644 --- a/drivers/mtd/nand/raw/sm_common.h +++ b/drivers/mtd/nand/raw/sm_common.h | |||
@@ -1,10 +1,7 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Copyright © 2009 - Maxim Levitsky | 3 | * Copyright © 2009 - Maxim Levitsky |
3 | * Common routines & support for SmartMedia/xD format | 4 | * Common routines & support for SmartMedia/xD format |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | #include <linux/bitops.h> | 6 | #include <linux/bitops.h> |
10 | #include <linux/mtd/mtd.h> | 7 | #include <linux/mtd/mtd.h> |
diff --git a/drivers/mtd/nand/raw/socrates_nand.c b/drivers/mtd/nand/raw/socrates_nand.c index 8be9a50c7880..20f40c0e812c 100644 --- a/drivers/mtd/nand/raw/socrates_nand.c +++ b/drivers/mtd/nand/raw/socrates_nand.c | |||
@@ -1,11 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright © 2008 Ilya Yanok, Emcraft Systems | 3 | * Copyright © 2008 Ilya Yanok, Emcraft Systems |
3 | * | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | * | ||
9 | */ | 4 | */ |
10 | 5 | ||
11 | #include <linux/slab.h> | 6 | #include <linux/slab.h> |
diff --git a/drivers/mtd/nand/raw/tango_nand.c b/drivers/mtd/nand/raw/tango_nand.c index cb3beda88789..b3f2cabcc7c0 100644 --- a/drivers/mtd/nand/raw/tango_nand.c +++ b/drivers/mtd/nand/raw/tango_nand.c | |||
@@ -1,9 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2016 Sigma Designs | 3 | * Copyright (C) 2016 Sigma Designs |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or | ||
5 | * modify it under the terms of the GNU General Public License | ||
6 | * version 2 as published by the Free Software Foundation. | ||
7 | */ | 4 | */ |
8 | 5 | ||
9 | #include <linux/io.h> | 6 | #include <linux/io.h> |
diff --git a/drivers/mtd/nand/raw/txx9ndfmc.c b/drivers/mtd/nand/raw/txx9ndfmc.c index 97978227aa55..2642d5bb3241 100644 --- a/drivers/mtd/nand/raw/txx9ndfmc.c +++ b/drivers/mtd/nand/raw/txx9ndfmc.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * TXx9 NAND flash memory controller driver | 3 | * TXx9 NAND flash memory controller driver |
3 | * Based on RBTX49xx patch from CELF patch archive. | 4 | * Based on RBTX49xx patch from CELF patch archive. |
4 | * | 5 | * |
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | * | ||
9 | * (C) Copyright TOSHIBA CORPORATION 2004-2007 | 6 | * (C) Copyright TOSHIBA CORPORATION 2004-2007 |
10 | * All Rights Reserved. | 7 | * All Rights Reserved. |
11 | */ | 8 | */ |
diff --git a/drivers/mtd/nand/raw/xway_nand.c b/drivers/mtd/nand/raw/xway_nand.c index 4cb78106af14..834f794816a9 100644 --- a/drivers/mtd/nand/raw/xway_nand.c +++ b/drivers/mtd/nand/raw/xway_nand.c | |||
@@ -1,7 +1,5 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * This program is free software; you can redistribute it and/or modify it | ||
3 | * under the terms of the GNU General Public License version 2 as published | ||
4 | * by the Free Software Foundation. | ||
5 | * | 3 | * |
6 | * Copyright © 2012 John Crispin <john@phrozen.org> | 4 | * Copyright © 2012 John Crispin <john@phrozen.org> |
7 | * Copyright © 2016 Hauke Mehrtens <hauke@hauke-m.de> | 5 | * Copyright © 2016 Hauke Mehrtens <hauke@hauke-m.de> |