[2/3] pcmcia: Add SPDX identifier for GPL 2.0-licensed driver files

Message ID 20230517061338.1081810-3-bagasdotme@gmail.com
State New
Headers
Series SPDX conversion on pcmcia drivers |

Commit Message

Bagas Sanjaya May 17, 2023, 6:13 a.m. UTC
  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@freebox.fr>
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 drivers/pcmcia/bcm63xx_pcmcia.c | 5 +----
 drivers/pcmcia/pxa2xx_base.h    | 1 +
 2 files changed, 2 insertions(+), 4 deletions(-)
  

Patch

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@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);