SPDX conversion on pcmcia drivers
Subsystems (2)
cover SPDX conversion on pcmcia drivers
This series is SPDX conversion for pcmcia drivers. It is splitted from v2 of my SPDX conversion series in response to Didi's GPL full name fixes [1]. I intend to have it merged via driver-core tree as Dominik's tree (pcmcia-next) is lagging and had not seen any activity in recent months.
The difference from v2 is the conversion patches are split by license type.
Happy reviewing!
[1]: https://lore.kernel.org/linux-spdx/[email protected]/
Bagas Sanjaya (3):
pcmcia: Convert dual GPL/MPL notice to SPDX license identifier
pcmcia: Add SPDX identifier for GPL 2.0-licensed driver files
pcmcia: pd6729: Replace unversioned GPL notice with SPDX identifier
drivers/pcmcia/bcm63xx_pcmcia.c | 5 +---- drivers/pcmcia/cirrus.h | 21 +-------------------- drivers/pcmcia/i82365.c | 22 +--------------------- drivers/pcmcia/i82365.h | 21 +-------------------- drivers/pcmcia/o2micro.h | 21 +-------------------- drivers/pcmcia/pd6729.c | 3 +-- drivers/pcmcia/pxa2xx_base.h | 1 + drivers/pcmcia/ricoh.h | 21 +-------------------- drivers/pcmcia/sa1100_generic.c | 22 +--------------------- drivers/pcmcia/sa11xx_base.c | 22 +--------------------- drivers/pcmcia/sa11xx_base.h | 22 +--------------------- drivers/pcmcia/soc_common.c | 22 +--------------------- drivers/pcmcia/tcic.c | 22 +--------------------- drivers/pcmcia/tcic.h | 21 +-------------------- drivers/pcmcia/ti113x.h | 21 +-------------------- drivers/pcmcia/topic.h | 23 +---------------------- drivers/pcmcia/vg468.h | 21 +-------------------- 17 files changed, 17 insertions(+), 294 deletions(-)
base-commit: f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 1/3 pcmcia: Convert dual GPL/MPL notice to SPDX license identifier
Replace license boilerplate for dual GPL 2.0/MPL 1.1 with corresponding SPDX license identifier.
--- drivers/pcmcia/cirrus.h | 21 +-------------------- drivers/pcmcia/i82365.c | 22 +--------------------- drivers/pcmcia/i82365.h | 21 +-------------------- drivers/pcmcia/o2micro.h | 21 +-------------------- drivers/pcmcia/ricoh.h | 21 +-------------------- drivers/pcmcia/sa1100_generic.c | 22 +--------------------- drivers/pcmcia/sa11xx_base.c | 22 +--------------------- drivers/pcmcia/sa11xx_base.h | 22 +--------------------- drivers/pcmcia/soc_common.c | 22 +--------------------- drivers/pcmcia/tcic.c | 22 +--------------------- drivers/pcmcia/tcic.h | 21 +-------------------- drivers/pcmcia/ti113x.h | 21 +-------------------- drivers/pcmcia/topic.h | 23 +---------------------- drivers/pcmcia/vg468.h | 21 +-------------------- 14 files changed, 14 insertions(+), 288 deletions(-)
drivers/pcmcia/cirrus.h +1 -20
@@ -1,30 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0-only OR MPL-1.1 */ /* * cirrus.h 1.4 1999/10/25 20:03:34 * -* The contents of this file are subject to the Mozilla Public License -* Version 1.1 (the "License"); you may not use this file except in -* compliance with the License. You may obtain a copy of the License -* at http://www.mozilla.org/MPL/ -* -* Software distributed under the License is distributed on an "AS IS" -* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See -* the License for the specific language governing rights and -* limitations under the License. -* * The initial developer of the original code is David A. Hinds * <[email protected]>. Portions created by David A. Hinds * are Copyright (C) 1999 David A. Hinds. All Rights Reserved. * -* Alternatively, the contents of this file may be used under the -* terms of the GNU General Public License version 2 (the "GPL"), in which -* case the provisions of the GPL are applicable instead of the -* above. If you wish to allow the use of your version of this file -* only under the terms of the GPL and not to allow others to use -* your version of this file under the MPL, indicate your decision by -* deleting the provisions above and replace them with the notice and -* other provisions required by the GPL. If you do not delete the -* provisions above, a recipient may use your version of this file -* under either the MPL or the GPL. */ #ifndef _LINUX_CIRRUS_H
drivers/pcmcia/i82365.c +1 -21
@@ -1,34 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0-only OR MPL-1.1 /*====================================================================== Device driver for Intel 82365 and compatible PC Card controllers. i82365.c 1.265 1999/11/10 18:36:21 -The contents of this file are subject to the Mozilla Public -License Version 1.1 (the "License"); you may not use this file -except in compliance with the License. You may obtain a copy of -the License at http://www.mozilla.org/MPL/ - -Software distributed under the License is distributed on an "AS -IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or -implied. See the License for the specific language governing -rights and limitations under the License. -The initial developer of the original code is David A. Hinds <[email protected]>. Portions created by David A. Hinds are Copyright (C) 1999 David A. Hinds. All Rights Reserved. -Alternatively, the contents of this file may be used under the -terms of the GNU General Public License version 2 (the "GPL"), in which -case the provisions of the GPL are applicable instead of the -above. If you wish to allow the use of your version of this file -only under the terms of the GPL and not to allow others to use -your version of this file under the MPL, indicate your decision -by deleting the provisions above and replace them with the notice -and other provisions required by the GPL. If you do not delete -the provisions above, a recipient may use your version of this -file under either the MPL or the GPL. -======================================================================*/ #include <linux/module.h>
drivers/pcmcia/i82365.h +1 -20
@@ -1,30 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0-only OR MPL-1.1 */ /* * i82365.h 1.15 1999/10/25 20:03:34 * -* The contents of this file are subject to the Mozilla Public License -* Version 1.1 (the "License"); you may not use this file except in -* compliance with the License. You may obtain a copy of the License -* at http://www.mozilla.org/MPL/ -* -* Software distributed under the License is distributed on an "AS IS" -* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See -* the License for the specific language governing rights and -* limitations under the License. -* * The initial developer of the original code is David A. Hinds * <[email protected]>. Portions created by David A. Hinds * are Copyright (C) 1999 David A. Hinds. All Rights Reserved. * -* Alternatively, the contents of this file may be used under the -* terms of the GNU General Public License version 2 (the "GPL"), in which -* case the provisions of the GPL are applicable instead of the -* above. If you wish to allow the use of your version of this file -* only under the terms of the GPL and not to allow others to use -* your version of this file under the MPL, indicate your decision by -* deleting the provisions above and replace them with the notice and -* other provisions required by the GPL. If you do not delete the -* provisions above, a recipient may use your version of this file -* under either the MPL or the GPL. */ #ifndef _LINUX_I82365_H
drivers/pcmcia/o2micro.h +1 -20
@@ -1,30 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0-only OR MPL-1.1 */ /* * o2micro.h 1.13 1999/10/25 20:03:34 * -* The contents of this file are subject to the Mozilla Public License -* Version 1.1 (the "License"); you may not use this file except in -* compliance with the License. You may obtain a copy of the License -* at http://www.mozilla.org/MPL/ -* -* Software distributed under the License is distributed on an "AS IS" -* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See -* the License for the specific language governing rights and -* limitations under the License. -* * The initial developer of the original code is David A. Hinds * <[email protected]>. Portions created by David A. Hinds * are Copyright (C) 1999 David A. Hinds. All Rights Reserved. * -* Alternatively, the contents of this file may be used under the -* terms of the GNU General Public License version 2 (the "GPL"), in which -* case the provisions of the GPL are applicable instead of the -* above. If you wish to allow the use of your version of this file -* only under the terms of the GPL and not to allow others to use -* your version of this file under the MPL, indicate your decision by -* deleting the provisions above and replace them with the notice and -* other provisions required by the GPL. If you do not delete the -* provisions above, a recipient may use your version of this file -* under either the MPL or the GPL. */ #ifndef _LINUX_O2MICRO_H
drivers/pcmcia/ricoh.h +1 -20
@@ -1,30 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0-only OR MPL-1.1 */ /* * ricoh.h 1.9 1999/10/25 20:03:34 * -* The contents of this file are subject to the Mozilla Public License -* Version 1.1 (the "License"); you may not use this file except in -* compliance with the License. You may obtain a copy of the License -* at http://www.mozilla.org/MPL/ -* -* Software distributed under the License is distributed on an "AS IS" -* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See -* the License for the specific language governing rights and -* limitations under the License. -* * The initial developer of the original code is David A. Hinds * <[email protected]>. Portions created by David A. Hinds * are Copyright (C) 1999 David A. Hinds. All Rights Reserved. * -* Alternatively, the contents of this file may be used under the -* terms of the GNU General Public License version 2 (the "GPL"), in which -* case the provisions of the GPL are applicable instead of the -* above. If you wish to allow the use of your version of this file -* only under the terms of the GPL and not to allow others to use -* your version of this file under the MPL, indicate your decision by -* deleting the provisions above and replace them with the notice and -* other provisions required by the GPL. If you do not delete the -* provisions above, a recipient may use your version of this file -* under either the MPL or the GPL. */ #ifndef _LINUX_RICOH_H
drivers/pcmcia/sa1100_generic.c +1 -21
@@ -1,33 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0-only OR MPL-1.1 /*====================================================================== Device driver for the PCMCIA control functionality of StrongARM SA-1100 microprocessors. -The contents of this file are subject to the Mozilla Public -License Version 1.1 (the "License"); you may not use this file -except in compliance with the License. You may obtain a copy of -the License at http://www.mozilla.org/MPL/ - -Software distributed under the License is distributed on an "AS -IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or -implied. See the License for the specific language governing -rights and limitations under the License. -The initial developer of the original code is John G. Dorsey <[email protected]>. Portions created by John G. Dorsey are Copyright (C) 1999 John G. Dorsey. All Rights Reserved. -Alternatively, the contents of this file may be used under the -terms of the GNU Public License version 2 (the "GPL"), in which -case the provisions of the GPL are applicable instead of the -above. If you wish to allow the use of your version of this file -only under the terms of the GPL and not to allow others to use -your version of this file under the MPL, indicate your decision -by deleting the provisions above and replace them with the notice -and other provisions required by the GPL. If you do not delete -the provisions above, a recipient may use your version of this -file under either the MPL or the GPL. -======================================================================*/ #include <linux/module.h>
drivers/pcmcia/sa11xx_base.c +1 -21
@@ -1,33 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0-only OR MPL-1.1 /*====================================================================== Device driver for the PCMCIA control functionality of StrongARM SA-1100 microprocessors. -The contents of this file are subject to the Mozilla Public -License Version 1.1 (the "License"); you may not use this file -except in compliance with the License. You may obtain a copy of -the License at http://www.mozilla.org/MPL/ - -Software distributed under the License is distributed on an "AS -IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or -implied. See the License for the specific language governing -rights and limitations under the License. -The initial developer of the original code is John G. Dorsey <[email protected]>. Portions created by John G. Dorsey are Copyright (C) 1999 John G. Dorsey. All Rights Reserved. -Alternatively, the contents of this file may be used under the -terms of the GNU Public License version 2 (the "GPL"), in which -case the provisions of the GPL are applicable instead of the -above. If you wish to allow the use of your version of this file -only under the terms of the GPL and not to allow others to use -your version of this file under the MPL, indicate your decision -by deleting the provisions above and replace them with the notice -and other provisions required by the GPL. If you do not delete -the provisions above, a recipient may use your version of this -file under either the MPL or the GPL. -======================================================================*/ #include <linux/module.h>
drivers/pcmcia/sa11xx_base.h +1 -21
@@ -1,33 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0-only OR MPL-1.1 */ /*====================================================================== Device driver for the PCMCIA control functionality of StrongARM SA-1100 microprocessors. -The contents of this file are subject to the Mozilla Public -License Version 1.1 (the "License"); you may not use this file -except in compliance with the License. You may obtain a copy of -the License at http://www.mozilla.org/MPL/ - -Software distributed under the License is distributed on an "AS -IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or -implied. See the License for the specific language governing -rights and limitations under the License. -The initial developer of the original code is John G. Dorsey <[email protected]>. Portions created by John G. Dorsey are Copyright (C) 1999 John G. Dorsey. All Rights Reserved. -Alternatively, the contents of this file may be used under the -terms of the GNU Public License version 2 (the "GPL"), in which -case the provisions of the GPL are applicable instead of the -above. If you wish to allow the use of your version of this file -only under the terms of the GPL and not to allow others to use -your version of this file under the MPL, indicate your decision -by deleting the provisions above and replace them with the notice -and other provisions required by the GPL. If you do not delete -the provisions above, a recipient may use your version of this -file under either the MPL or the GPL. -======================================================================*/ #if !defined(_PCMCIA_SA1100_H)
drivers/pcmcia/soc_common.c +1 -21
@@ -1,33 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0-only OR MPL-1.1 /*====================================================================== Common support code for the PCMCIA control functionality of integrated SOCs like the SA-11x0 and PXA2xx microprocessors. -The contents of this file are subject to the Mozilla Public -License Version 1.1 (the "License"); you may not use this file -except in compliance with the License. You may obtain a copy of -the License at http://www.mozilla.org/MPL/ - -Software distributed under the License is distributed on an "AS -IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or -implied. See the License for the specific language governing -rights and limitations under the License. -The initial developer of the original code is John G. Dorsey <[email protected]>. Portions created by John G. Dorsey are Copyright (C) 1999 John G. Dorsey. All Rights Reserved. -Alternatively, the contents of this file may be used under the -terms of the GNU Public License version 2 (the "GPL"), in which -case the provisions of the GPL are applicable instead of the -above. If you wish to allow the use of your version of this file -only under the terms of the GPL and not to allow others to use -your version of this file under the MPL, indicate your decision -by deleting the provisions above and replace them with the notice -and other provisions required by the GPL. If you do not delete -the provisions above, a recipient may use your version of this -file under either the MPL or the GPL. -======================================================================*/
drivers/pcmcia/tcic.c +1 -21
@@ -1,34 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0-only OR MPL-1.1 /*====================================================================== Device driver for Databook TCIC-2 PCMCIA controller tcic.c 1.111 2000/02/15 04:13:12 -The contents of this file are subject to the Mozilla Public -License Version 1.1 (the "License"); you may not use this file -except in compliance with the License. You may obtain a copy of -the License at http://www.mozilla.org/MPL/ - -Software distributed under the License is distributed on an "AS -IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or -implied. See the License for the specific language governing -rights and limitations under the License. -The initial developer of the original code is David A. Hinds <[email protected]>. Portions created by David A. Hinds are Copyright (C) 1999 David A. Hinds. All Rights Reserved. -Alternatively, the contents of this file may be used under the -terms of the GNU General Public License version 2 (the "GPL"), in which -case the provisions of the GPL are applicable instead of the -above. If you wish to allow the use of your version of this file -only under the terms of the GPL and not to allow others to use -your version of this file under the MPL, indicate your decision -by deleting the provisions above and replace them with the notice -and other provisions required by the GPL. If you do not delete -the provisions above, a recipient may use your version of this -file under either the MPL or the GPL. -======================================================================*/ #include <linux/module.h>
drivers/pcmcia/tcic.h +1 -20
@@ -1,30 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0-only OR MPL-1.1 */ /* * tcic.h 1.13 1999/10/25 20:03:34 * -* The contents of this file are subject to the Mozilla Public License -* Version 1.1 (the "License"); you may not use this file except in -* compliance with the License. You may obtain a copy of the License -* at http://www.mozilla.org/MPL/ -* -* Software distributed under the License is distributed on an "AS IS" -* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See -* the License for the specific language governing rights and -* limitations under the License. -* * The initial developer of the original code is David A. Hinds * <[email protected]>. Portions created by David A. Hinds * are Copyright (C) 1999 David A. Hinds. All Rights Reserved. * -* Alternatively, the contents of this file may be used under the -* terms of the GNU General Public License version 2 (the "GPL"), in which -* case the provisions of the GPL are applicable instead of the -* above. If you wish to allow the use of your version of this file -* only under the terms of the GPL and not to allow others to use -* your version of this file under the MPL, indicate your decision by -* deleting the provisions above and replace them with the notice and -* other provisions required by the GPL. If you do not delete the -* provisions above, a recipient may use your version of this file -* under either the MPL or the GPL. */ #ifndef _LINUX_TCIC_H
drivers/pcmcia/ti113x.h +1 -20
@@ -1,30 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0-only OR MPL-1.1 */ /* * ti113x.h 1.16 1999/10/25 20:03:34 * -* The contents of this file are subject to the Mozilla Public License -* Version 1.1 (the "License"); you may not use this file except in -* compliance with the License. You may obtain a copy of the License -* at http://www.mozilla.org/MPL/ -* -* Software distributed under the License is distributed on an "AS IS" -* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See -* the License for the specific language governing rights and -* limitations under the License. -* * The initial developer of the original code is David A. Hinds * <[email protected]>. Portions created by David A. Hinds * are Copyright (C) 1999 David A. Hinds. All Rights Reserved. * -* Alternatively, the contents of this file may be used under the -* terms of the GNU General Public License version 2 (the "GPL"), in which -* case the provisions of the GPL are applicable instead of the -* above. If you wish to allow the use of your version of this file -* only under the terms of the GPL and not to allow others to use -* your version of this file under the MPL, indicate your decision by -* deleting the provisions above and replace them with the notice and -* other provisions required by the GPL. If you do not delete the -* provisions above, a recipient may use your version of this file -* under either the MPL or the GPL. */ #ifndef _LINUX_TI113X_H
drivers/pcmcia/topic.h +1 -22
@@ -1,31 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only OR MPL-1.1 */ /* * topic.h 1.8 1999/08/28 04:01:47 * -* The contents of this file are subject to the Mozilla Public License -* Version 1.1 (the "License"); you may not use this file except in -* compliance with the License. You may obtain a copy of the License -* at http://www.mozilla.org/MPL/ -* -* Software distributed under the License is distributed on an "AS IS" -* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See -* the License for the specific language governing rights and -* limitations under the License. -* * The initial developer of the original code is David A. Hinds * <[email protected]>. Portions created by David A. Hinds * are Copyright (C) 1999 David A. Hinds. All Rights Reserved. -* -* Alternatively, the contents of this file may be used under the -* terms of the GNU General Public License version 2 (the "GPL"), in which -* case the provisions of the GPL are applicable instead of the -* above. If you wish to allow the use of your version of this file -* only under the terms of the GPL and not to allow others to use -* your version of this file under the MPL, indicate your decision by -* deleting the provisions above and replace them with the notice and -* other provisions required by the GPL. If you do not delete the -* provisions above, a recipient may use your version of this file -* under either the MPL or the GPL. -* topic.h $Release$ 1999/08/28 04:01:47 */ #ifndef _LINUX_TOPIC_H
drivers/pcmcia/vg468.h +1 -20
@@ -1,30 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0-only OR MPL-1.1 */ /* * vg468.h 1.11 1999/10/25 20:03:34 * -* The contents of this file are subject to the Mozilla Public License -* Version 1.1 (the "License"); you may not use this file except in -* compliance with the License. You may obtain a copy of the License -* at http://www.mozilla.org/MPL/ -* -* Software distributed under the License is distributed on an "AS IS" -* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See -* the License for the specific language governing rights and -* limitations under the License. -* * The initial developer of the original code is David A. Hinds * <[email protected]>. Portions created by David A. Hinds * are Copyright (C) 1999 David A. Hinds. All Rights Reserved. * -* Alternatively, the contents of this file may be used under the -* terms of the GNU General Public License version 2 (the "GPL"), in which -* case the provisions of the GPL are applicable instead of the -* above. If you wish to allow the use of your version of this file -* only under the terms of the GPL and not to allow others to use -* your version of this file under the MPL, indicate your decision by -* deleting the provisions above and replace them with the notice and -* other provisions required by the GPL. If you do not delete the -* provisions above, a recipient may use your version of this file -* under either the MPL or the GPL. */ #ifndef _LINUX_VG468_H
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Re: [PATCH 1/3] pcmcia: Convert dual GPL/MPL notice to SPDX license identifier
Quoted 6 lines · Bagas Sanjaya
Replace license boilerplate for dual GPL 2.0/MPL 1.1 with corresponding SPDX license identifier.
Cc David A. Hinds <[email protected]>Cc John G. Dorsey <[email protected]>Signed-off-by Bagas Sanjaya <[email protected]>
Yours,
Linus Walleij
PATCH 2/3 pcmcia: Add SPDX identifier for GPL 2.0-licensed driver files
In reply to Bagas SanjayaLicense notice for pcmcia driver for bcm63xx contains pointer to COPYING in the top-level directory of kernel tree. Replace the boilerplate with SPDX tag for GPL 2.0 (the same license as Linux kernel itself).
On the other hand, px2xx_base.h doesn't have any SPDX tag. Add the tag for GPL 2.0 too.
--- drivers/pcmcia/bcm63xx_pcmcia.c | 5 +---- drivers/pcmcia/pxa2xx_base.h | 1 + 2 files changed, 2 insertions(+), 4 deletions(-)
drivers/pcmcia/bcm63xx_pcmcia.c +1 -4
@@ -1,8 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-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. -* * Copyright (C) 2008 Maxime Bizon <[email protected]> */
drivers/pcmcia/pxa2xx_base.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ int pxa2xx_drv_pcmcia_add_one (struct soc_pcmcia_socket *skt);void pxa2xx_drv_pcmcia_ops (struct pcmcia_low_level *ops);void pxa2xx_configure_sockets (struct device *dev,struct pcmcia_low_level *ops);
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 3/3 pcmcia: pd6729: Replace unversioned GPL notice with SPDX identifier
In reply to Bagas SanjayaThe boilerplate notice doesn't mention any GPL version. Replace it with SPDX license identifier for GPL 1.0+.
--- drivers/pcmcia/pd6729.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/pcmcia/pd6729.c +1 -2
@@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * Driver for the Cirrus PD6729 PCI-PCMCIA bridge. * * Based on the i82092.c driver. * -* This software may be used and distributed according to the terms of -* the GNU General Public License, incorporated herein by reference. */ #include <linux/kernel.h>
Signature · 1 line
An old man doll... just what I always wanted! - Clara