diff options
| author | Bjorn Helgaas <bhelgaas@google.com> | 2018-01-26 12:45:16 -0500 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-01-26 12:45:16 -0500 |
| commit | 7328c8f48d1895b3fec98b0b319cfb856b4c4fa1 (patch) | |
| tree | 7cb9334d7f5f2c7416f50da121edd23a6eaaa4e8 | |
| parent | 1291a0d5049dbc06baaaf66a9ff3f53db493b19b (diff) | |
PCI: Add SPDX GPL-2.0 when no license was specified
b24413180f56 ("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 <bhelgaas@google.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
33 files changed, 36 insertions, 0 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index bda151788f3f..949aa74206cd 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0 | ||
| 1 | # | 2 | # |
| 2 | # PCI configuration | 3 | # PCI configuration |
| 3 | # | 4 | # |
diff --git a/drivers/pci/access.c b/drivers/pci/access.c index 913d6722ece9..5a64da3fb033 100644 --- a/drivers/pci/access.c +++ b/drivers/pci/access.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | #include <linux/delay.h> | 2 | #include <linux/delay.h> |
| 2 | #include <linux/pci.h> | 3 | #include <linux/pci.h> |
| 3 | #include <linux/module.h> | 4 | #include <linux/module.h> |
diff --git a/drivers/pci/ats.c b/drivers/pci/ats.c index ad8ddbbbf245..6ad80a1fd5a7 100644 --- a/drivers/pci/ats.c +++ b/drivers/pci/ats.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* | 2 | /* |
| 2 | * drivers/pci/ats.c | 3 | * drivers/pci/ats.c |
| 3 | * | 4 | * |
diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c index bc56cf19afd3..30a4d33038bf 100644 --- a/drivers/pci/bus.c +++ b/drivers/pci/bus.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* | 2 | /* |
| 2 | * drivers/pci/bus.c | 3 | * drivers/pci/bus.c |
| 3 | * | 4 | * |
diff --git a/drivers/pci/dwc/Kconfig b/drivers/pci/dwc/Kconfig index 113e09440f85..fe1cb56b71f1 100644 --- a/drivers/pci/dwc/Kconfig +++ b/drivers/pci/dwc/Kconfig | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0 | ||
| 2 | |||
| 1 | menu "DesignWare PCI Core Support" | 3 | menu "DesignWare PCI Core Support" |
| 2 | 4 | ||
| 3 | config PCIE_DW | 5 | config PCIE_DW |
diff --git a/drivers/pci/endpoint/Kconfig b/drivers/pci/endpoint/Kconfig index c09623ca8c3b..d1e7e4199432 100644 --- a/drivers/pci/endpoint/Kconfig +++ b/drivers/pci/endpoint/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0 | ||
| 1 | # | 2 | # |
| 2 | # PCI Endpoint Support | 3 | # PCI Endpoint Support |
| 3 | # | 4 | # |
diff --git a/drivers/pci/endpoint/Makefile b/drivers/pci/endpoint/Makefile index 1041f80a4645..95b2fe47e3b0 100644 --- a/drivers/pci/endpoint/Makefile +++ b/drivers/pci/endpoint/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0 | ||
| 1 | # | 2 | # |
| 2 | # Makefile for PCI Endpoint Support | 3 | # Makefile for PCI Endpoint Support |
| 3 | # | 4 | # |
diff --git a/drivers/pci/endpoint/functions/Kconfig b/drivers/pci/endpoint/functions/Kconfig index 2942066607e0..8820d0f7ec77 100644 --- a/drivers/pci/endpoint/functions/Kconfig +++ b/drivers/pci/endpoint/functions/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0 | ||
| 1 | # | 2 | # |
| 2 | # PCI Endpoint Functions | 3 | # PCI Endpoint Functions |
| 3 | # | 4 | # |
diff --git a/drivers/pci/endpoint/functions/Makefile b/drivers/pci/endpoint/functions/Makefile index 6d94a4801838..d6fafff080e2 100644 --- a/drivers/pci/endpoint/functions/Makefile +++ b/drivers/pci/endpoint/functions/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0 | ||
| 1 | # | 2 | # |
| 2 | # Makefile for PCI Endpoint Functions | 3 | # Makefile for PCI Endpoint Functions |
| 3 | # | 4 | # |
diff --git a/drivers/pci/host-bridge.c b/drivers/pci/host-bridge.c index add66236215c..ac8d81268296 100644 --- a/drivers/pci/host-bridge.c +++ b/drivers/pci/host-bridge.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* | 2 | /* |
| 2 | * host bridge related code | 3 | * host bridge related code |
| 3 | */ | 4 | */ |
diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig index 38d12980db0f..a4ed7484d127 100644 --- a/drivers/pci/host/Kconfig +++ b/drivers/pci/host/Kconfig | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0 | ||
| 2 | |||
| 1 | menu "PCI host controller drivers" | 3 | menu "PCI host controller drivers" |
| 2 | depends on PCI | 4 | depends on PCI |
| 3 | 5 | ||
diff --git a/drivers/pci/host/pci-v3-semi.c b/drivers/pci/host/pci-v3-semi.c index 02f6e1e3a421..7fef64869d19 100644 --- a/drivers/pci/host/pci-v3-semi.c +++ b/drivers/pci/host/pci-v3-semi.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* | 2 | /* |
| 2 | * Support for V3 Semiconductor PCI Local Bus to PCI Bridge | 3 | * Support for V3 Semiconductor PCI Local Bus to PCI Bridge |
| 3 | * Copyright (C) 2017 Linus Walleij <linus.walleij@linaro.org> | 4 | * Copyright (C) 2017 Linus Walleij <linus.walleij@linaro.org> |
diff --git a/drivers/pci/hotplug/Kconfig b/drivers/pci/hotplug/Kconfig index aadce45a9b4a..a8f21d051e0c 100644 --- a/drivers/pci/hotplug/Kconfig +++ b/drivers/pci/hotplug/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0 | ||
| 1 | # | 2 | # |
| 2 | # PCI Hotplug support | 3 | # PCI Hotplug support |
| 3 | # | 4 | # |
diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index 6bacb8995e96..c533325e8d86 100644 --- a/drivers/pci/iov.c +++ b/drivers/pci/iov.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* | 2 | /* |
| 2 | * drivers/pci/iov.c | 3 | * drivers/pci/iov.c |
| 3 | * | 4 | * |
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index e06607167858..7f7547d200e4 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* | 2 | /* |
| 2 | * File: msi.c | 3 | * File: msi.c |
| 3 | * Purpose: PCI Message Signaled Interrupt (MSI) | 4 | * Purpose: PCI Message Signaled Interrupt (MSI) |
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index 4708eb9df71b..3b82bb86a203 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* | 2 | /* |
| 2 | * File: pci-acpi.c | 3 | * File: pci-acpi.c |
| 3 | * Purpose: Provide PCI support in ACPI | 4 | * Purpose: Provide PCI support in ACPI |
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 4a7c6864fdf4..50e716b3e2b8 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* | 2 | /* |
| 2 | * PCI Bus Services, see include/linux/pci.h for further explanation. | 3 | * PCI Bus Services, see include/linux/pci.h for further explanation. |
| 3 | * | 4 | * |
diff --git a/drivers/pci/pcie/Kconfig b/drivers/pci/pcie/Kconfig index ac53edbc9613..6d75a2eb6ecb 100644 --- a/drivers/pci/pcie/Kconfig +++ b/drivers/pci/pcie/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0 | ||
| 1 | # | 2 | # |
| 2 | # PCI Express Port Bus Configuration | 3 | # PCI Express Port Bus Configuration |
| 3 | # | 4 | # |
diff --git a/drivers/pci/pcie/aer/Kconfig b/drivers/pci/pcie/aer/Kconfig index 7d1437b01fdd..5a64eb3d6c7a 100644 --- a/drivers/pci/pcie/aer/Kconfig +++ b/drivers/pci/pcie/aer/Kconfig | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0 | ||
| 1 | # | 2 | # |
| 2 | # PCI Express Root Port Device AER Configuration | 3 | # PCI Express Root Port Device AER Configuration |
| 3 | # | 4 | # |
diff --git a/drivers/pci/pcie/aer/Kconfig.debug b/drivers/pci/pcie/aer/Kconfig.debug index 9142949734f5..67e02174b65b 100644 --- a/drivers/pci/pcie/aer/Kconfig.debug +++ b/drivers/pci/pcie/aer/Kconfig.debug | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0 | ||
| 1 | # | 2 | # |
| 2 | # PCI Express Root Port Device AER Debug Configuration | 3 | # PCI Express Root Port Device AER Debug Configuration |
| 3 | # | 4 | # |
diff --git a/drivers/pci/pcie/portdrv_bus.c b/drivers/pci/pcie/portdrv_bus.c index 87e79a6ffb5a..f0fba552a0e2 100644 --- a/drivers/pci/pcie/portdrv_bus.c +++ b/drivers/pci/pcie/portdrv_bus.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* | 2 | /* |
| 2 | * File: portdrv_bus.c | 3 | * File: portdrv_bus.c |
| 3 | * Purp | ||
