Skip to content

Commit 736759e

Browse files
bjorn-helgaasBjorn Helgaas
authored andcommitted
PCI: Add SPDX GPL-2.0+ to replace GPL v2 or later boilerplate
Add SPDX GPL-2.0+ to all PCI files that specified the GPL and allowed either GPL version 2 or any later version. Remove the boilerplate GPL version 2 or later language, relying on the assertion in b244131 ("License cleanup: add SPDX GPL-2.0 license identifier to files with no license") that the SPDX identifier may be used instead of the full boilerplate text. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent e1e86ee commit 736759e

54 files changed

Lines changed: 54 additions & 725 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎drivers/pci/host/pci-tegra.c‎

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* PCIe host controller driver for Tegra SoCs
34
*
@@ -10,20 +11,6 @@
1011
* Bits taken from arch/arm/mach-dove/pcie.c
1112
*
1213
* Author: Thierry Reding <treding@nvidia.com>
13-
*
14-
* This program is free software; you can redistribute it and/or modify
15-
* it under the terms of the GNU General Public License as published by
16-
* the Free Software Foundation; either version 2 of the License, or
17-
* (at your option) any later version.
18-
*
19-
* This program is distributed in the hope that it will be useful, but WITHOUT
20-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
22-
* more details.
23-
*
24-
* You should have received a copy of the GNU General Public License along
25-
* with this program; if not, write to the Free Software Foundation, Inc.,
26-
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2714
*/
2815

2916
#include <linux/clk.h>

‎drivers/pci/host/pci-xgene-msi.c‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* APM X-Gene MSI Driver
34
*
45
* Copyright (c) 2014, Applied Micro Circuits Corporation
56
* Author: Tanmay Inamdar <tinamdar@apm.com>
67
* Duc Dang <dhdang@apm.com>
7-
*
8-
* This program is free software; you can redistribute it and/or modify it
9-
* under the terms of the GNU General Public License as published by the
10-
* Free Software Foundation; either version 2 of the License, or (at your
11-
* option) any later version.
12-
*
13-
* This program is distributed in the hope that it will be useful,
14-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
* GNU General Public License for more details.
178
*/
189
#include <linux/cpu.h>
1910
#include <linux/interrupt.h>

‎drivers/pci/host/pci-xgene.c‎

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/**
23
* APM X-Gene PCIe Driver
34
*
45
* Copyright (c) 2014 Applied Micro Circuits Corporation.
56
*
67
* Author: Tanmay Inamdar <tinamdar@apm.com>.
7-
*
8-
* This program is free software; you can redistribute it and/or modify it
9-
* under the terms of the GNU General Public License as published by the
10-
* Free Software Foundation; either version 2 of the License, or (at your
11-
* option) any later version.
12-
*
13-
* This program is distributed in the hope that it will be useful,
14-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
* GNU General Public License for more details.
17-
*
188
*/
199
#include <linux/clk.h>
2010
#include <linux/delay.h>

‎drivers/pci/host/pcie-rockchip.c‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* Rockchip AXI PCIe host controller driver
34
*
@@ -8,11 +9,6 @@
89
*
910
* Bits taken from Synopsys DesignWare Host controller driver and
1011
* ARM PCI Host generic driver.
11-
*
12-
* This program is free software: you can redistribute it and/or modify
13-
* it under the terms of the GNU General Public License as published by
14-
* the Free Software Foundation, either version 2 of the License, or
15-
* (at your option) any later version.
1612
*/
1713

1814
#include <linux/bitrev.h>

‎drivers/pci/host/pcie-xilinx-nwl.c‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* PCIe host controller driver for NWL PCIe Bridge
34
* Based on pcie-xilinx.c, pci-tegra.c
45
*
56
* (C) Copyright 2014 - 2015, Xilinx, Inc.
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 as published by
9-
* the Free Software Foundation, either version 2 of the License, or
10-
* (at your option) any later version.
117
*/
128

139
#include <linux/delay.h>

‎drivers/pci/host/pcie-xilinx.c‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* PCIe host controller driver for Xilinx AXI PCIe Bridge
34
*
@@ -7,11 +8,6 @@
78
*
89
* Bits taken from Synopsys DesignWare Host controller driver and
910
* ARM PCI Host generic driver.
10-
*
11-
* This program is free software: you can redistribute it and/or modify
12-
* it under the terms of the GNU General Public License as published by
13-
* the Free Software Foundation, either version 2 of the License, or
14-
* (at your option) any later version.
1511
*/
1612

1713
#include <linux/interrupt.h>

‎drivers/pci/hotplug/acpi_pcihp.c‎

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,11 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* Common ACPI functions for hot plug platforms
34
*
45
* Copyright (C) 2006 Intel Corporation
56
*
67
* All rights reserved.
78
*
8-
* This program is free software; you can redistribute it and/or modify
9-
* it under the terms of the GNU General Public License as published by
10-
* the Free Software Foundation; either version 2 of the License, or (at
11-
* your option) any later version.
12-
*
13-
* This program is distributed in the hope that it will be useful, but
14-
* WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
16-
* NON INFRINGEMENT. See the GNU General Public License for more
17-
* details.
18-
*
19-
* You should have received a copy of the GNU General Public License
20-
* along with this program; if not, write to the Free Software
21-
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22-
*
239
* Send feedback to <kristen.c.accardi@intel.com>
2410
*
2511
*/

‎drivers/pci/hotplug/acpiphp.h‎

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* SPDX-License-Identifier: GPL-2.0+ */
12
/*
23
* ACPI PCI Hot Plug Controller Driver
34
*
@@ -12,21 +13,6 @@
1213
*
1314
* All rights reserved.
1415
*
15-
* This program is free software; you can redistribute it and/or modify
16-
* it under the terms of the GNU General Public License as published by
17-
* the Free Software Foundation; either version 2 of the License, or (at
18-
* your option) any later version.
19-
*
20-
* This program is distributed in the hope that it will be useful, but
21-
* WITHOUT ANY WARRANTY; without even the implied warranty of
22-
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
23-
* NON INFRINGEMENT. See the GNU General Public License for more
24-
* details.
25-
*
26-
* You should have received a copy of the GNU General Public License
27-
* along with this program; if not, write to the Free Software
28-
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29-
*
3016
* Send feedback to <gregkh@us.ibm.com>,
3117
* <t-kochi@bq.jp.nec.com>
3218
*

‎drivers/pci/hotplug/acpiphp_core.c‎

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* ACPI PCI Hot Plug Controller Driver
34
*
@@ -12,21 +13,6 @@
1213
*
1314
* All rights reserved.
1415
*
15-
* This program is free software; you can redistribute it and/or modify
16-
* it under the terms of the GNU General Public License as published by
17-
* the Free Software Foundation; either version 2 of the License, or (at
18-
* your option) any later version.
19-
*
20-
* This program is distributed in the hope that it will be useful, but
21-
* WITHOUT ANY WARRANTY; without even the implied warranty of
22-
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
23-
* NON INFRINGEMENT. See the GNU General Public License for more
24-
* details.
25-
*
26-
* You should have received a copy of the GNU General Public License
27-
* along with this program; if not, write to the Free Software
28-
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29-
*
3016
* Send feedback to <kristen.c.accardi@intel.com>
3117
*
3218
*/

‎drivers/pci/hotplug/acpiphp_glue.c‎

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* ACPI PCI HotPlug glue functions to ACPI CA subsystem
34
*
@@ -11,21 +12,6 @@
1112
*
1213
* All rights reserved.
1314
*
14-
* This program is free software; you can redistribute it and/or modify
15-
* it under the terms of the GNU General Public License as published by
16-
* the Free Software Foundation; either version 2 of the License, or (at
17-
* your option) any later version.
18-
*
19-
* This program is distributed in the hope that it will be useful, but
20-
* WITHOUT ANY WARRANTY; without even the implied warranty of
21-
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
22-
* NON INFRINGEMENT. See the GNU General Public License for more
23-
* details.
24-
*
25-
* You should have received a copy of the GNU General Public License
26-
* along with this program; if not, write to the Free Software
27-
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28-
*
2915
* Send feedback to <kristen.c.accardi@intel.com>
3016
*
3117
*/

0 commit comments

Comments
 (0)