[PATCH 2/3] pcmcia: Add SPDX identifier for GPL 2.0-licensed driver files
Bagas Sanjaya
bagasdotme at gmail.com
Tue May 16 23:13:37 PDT 2023
License 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.
Cc: Maxime Bizon <mbizon at freebox.fr>
Signed-off-by: Bagas Sanjaya <bagasdotme at gmail.com>
---
drivers/pcmcia/bcm63xx_pcmcia.c | 5 +----
drivers/pcmcia/pxa2xx_base.h | 1 +
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/pcmcia/bcm63xx_pcmcia.c b/drivers/pcmcia/bcm63xx_pcmcia.c
index dd3c2609904877..0564bcabf85dc9 100644
--- a/drivers/pcmcia/bcm63xx_pcmcia.c
+++ b/drivers/pcmcia/bcm63xx_pcmcia.c
@@ -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 <mbizon at freebox.fr>
*/
diff --git a/drivers/pcmcia/pxa2xx_base.h b/drivers/pcmcia/pxa2xx_base.h
index e58c7a41541880..9583d08983f5cd 100644
--- a/drivers/pcmcia/pxa2xx_base.h
+++ b/drivers/pcmcia/pxa2xx_base.h
@@ -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);
--
An old man doll... just what I always wanted! - Clara
More information about the linux-arm-kernel
mailing list