Skip to content

Commit

Permalink
PCI: Add SPDX GPL-2.0 when no license was specified
Browse files Browse the repository at this point in the history
b244131 ("License cleanup: add SPDX GPL-2.0 license identifier to
files with no license") added SPDX GPL-2.0 to several PCI files that
previously contained no license information.

Add SPDX GPL-2.0 to all other PCI files that did not contain any license
information and hence were under the default GPL version 2 license of the
kernel.

Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
bjorn-helgaas committed Jan 26, 2018
1 parent 1291a0d commit 7328c8f
Show file tree
Hide file tree
Showing 33 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/pci/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
#
# PCI configuration
#
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/access.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/module.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/ats.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* drivers/pci/ats.c
*
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/bus.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* drivers/pci/bus.c
*
Expand Down
2 changes: 2 additions & 0 deletions drivers/pci/dwc/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0

menu "DesignWare PCI Core Support"

config PCIE_DW
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/endpoint/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
#
# PCI Endpoint Support
#
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/endpoint/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
#
# Makefile for PCI Endpoint Support
#
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/endpoint/functions/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
#
# PCI Endpoint Functions
#
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/endpoint/functions/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
#
# Makefile for PCI Endpoint Functions
#
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/host-bridge.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* host bridge related code
*/
Expand Down
2 changes: 2 additions & 0 deletions drivers/pci/host/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0

menu "PCI host controller drivers"
depends on PCI

Expand Down
1 change: 1 addition & 0 deletions drivers/pci/host/pci-v3-semi.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Support for V3 Semiconductor PCI Local Bus to PCI Bridge
* Copyright (C) 2017 Linus Walleij <[email protected]>
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/hotplug/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
#
# PCI Hotplug support
#
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/iov.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* drivers/pci/iov.c
*
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/msi.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* File: msi.c
* Purpose: PCI Message Signaled Interrupt (MSI)
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/pci-acpi.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* File: pci-acpi.c
* Purpose: Provide PCI support in ACPI
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/pci.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* PCI Bus Services, see include/linux/pci.h for further explanation.
*
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/pcie/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
#
# PCI Express Port Bus Configuration
#
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/pcie/aer/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
#
# PCI Express Root Port Device AER Configuration
#
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/pcie/aer/Kconfig.debug
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
#
# PCI Express Root Port Device AER Debug Configuration
#
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/pcie/portdrv_bus.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* File: portdrv_bus.c
* Purpose: PCI Express Port Bus Driver's Bus Overloading Functions
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/probe.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* probe.c - PCI detection and setup code
*/
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/remove.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include <linux/pci.h>
#include <linux/module.h>
#include <linux/pci-aspm.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/rom.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* drivers/pci/rom.c
*
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/search.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* PCI searching functions.
*
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/setup-bus.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* drivers/pci/setup-bus.c
*
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/setup-irq.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* drivers/pci/setup-irq.c
*
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/slot.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* drivers/pci/slot.c
* Copyright (C) 2006 Matthew Wilcox <[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions drivers/pci/switch/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0

menu "PCI switch controller drivers"
depends on PCI

Expand Down
1 change: 1 addition & 0 deletions drivers/pci/switch/Makefile
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_PCI_SW_SWITCHTEC) += switchtec.o
1 change: 1 addition & 0 deletions drivers/pci/vpd.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* File: vpd.c
* Purpose: Provide PCI VPD support
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/xen-pcifront.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Xen PCI Frontend.
*
Expand Down
1 change: 1 addition & 0 deletions lib/pci_iomap.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Implement the default iomap interfaces
*
Expand Down

0 comments on commit 7328c8f

Please sign in to comment.