USB: add missing SPDX lines to Kconfig and Makefiles

There are a few remaining drivers/usb/ files that do not have SPDX
identifiers in them, all of these are either Kconfig or Makefiles.  Add
the correct GPL-2.0 identifier to them to make scanning tools happy.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Greg Kroah-Hartman 2019-01-17 09:23:50 +01:00
parent 9812de4fb8
commit cae8dc3b68
32 changed files with 45 additions and 0 deletions

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
# #
# USB device configuration # USB device configuration
# #

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
# #
# USB/ATM DSL configuration # USB/ATM DSL configuration
# #

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
config USB_CHIPIDEA config USB_CHIPIDEA
tristate "ChipIdea Highspeed Dual Role Controller" tristate "ChipIdea Highspeed Dual Role Controller"
depends on ((USB_EHCI_HCD && USB_GADGET) || (USB_EHCI_HCD && !USB_GADGET) || (!USB_EHCI_HCD && USB_GADGET)) && HAS_DMA depends on ((USB_EHCI_HCD && USB_GADGET) || (USB_EHCI_HCD && !USB_GADGET) || (!USB_EHCI_HCD && USB_GADGET)) && HAS_DMA

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
# #
# USB Class driver configuration # USB Class driver configuration
# #

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
# #
# USB Core configuration # USB Core configuration
# #

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
config USB_DWC2 config USB_DWC2
tristate "DesignWare USB2 DRD Core Support" tristate "DesignWare USB2 DRD Core Support"
depends on HAS_DMA depends on HAS_DMA

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
config USB_DWC3 config USB_DWC3
tristate "DesignWare USB3 DRD Core Support" tristate "DesignWare USB3 DRD Core Support"
depends on (USB || USB_GADGET) && HAS_DMA depends on (USB || USB_GADGET) && HAS_DMA

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
# #
# USB Gadget support on a system involves # USB Gadget support on a system involves
# (a) a peripheral controller, and # (a) a peripheral controller, and

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
# #
# USB Gadget support on a system involves # USB Gadget support on a system involves
# (a) a peripheral controller, and # (a) a peripheral controller, and

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
# #
# USB Gadget support on a system involves # USB Gadget support on a system involves
# (a) a peripheral controller, and # (a) a peripheral controller, and

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
config USB_BDC_UDC config USB_BDC_UDC
tristate "Broadcom USB3.0 device controller IP driver(BDC)" tristate "Broadcom USB3.0 device controller IP driver(BDC)"
depends on USB_GADGET && HAS_DMA depends on USB_GADGET && HAS_DMA

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
# #
# USB Host Controller Drivers # USB Host Controller Drivers
# #

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
# #
# USB Imaging devices configuration # USB Imaging devices configuration
# #

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
config USB_ISP1760 config USB_ISP1760
tristate "NXP ISP 1760/1761 support" tristate "NXP ISP 1760/1761 support"
depends on USB || USB_GADGET depends on USB || USB_GADGET

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
# #
# USB Miscellaneous driver configuration # USB Miscellaneous driver configuration
# #

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
config USB_SISUSBVGA config USB_SISUSBVGA
tristate "USB 2.0 SVGA dongle support (Net2280/SiS315)" tristate "USB 2.0 SVGA dongle support (Net2280/SiS315)"

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
# #
# USB Monitor configuration # USB Monitor configuration
# #

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
#
# For MTK USB3.0 IP # For MTK USB3.0 IP
config USB_MTU3 config USB_MTU3

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
# #
# USB Dual Role (OTG-ready) Controller Drivers # USB Dual Role (OTG-ready) Controller Drivers
# for silicon based on Mentor Graphics INVENTRA designs # for silicon based on Mentor Graphics INVENTRA designs

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
# #
# Physical Layer USB driver configuration # Physical Layer USB driver configuration
# #

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
config USB_ROLE_SWITCH config USB_ROLE_SWITCH
tristate "USB Role Switch Support" tristate "USB Role Switch Support"
help help

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_USB_ROLE_SWITCH) += roles.o obj-$(CONFIG_USB_ROLE_SWITCH) += roles.o
roles-y := class.o roles-y := class.o
obj-$(CONFIG_USB_ROLES_INTEL_XHCI) += intel-xhci-usb-role-switch.o obj-$(CONFIG_USB_ROLES_INTEL_XHCI) += intel-xhci-usb-role-switch.o

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
# #
# USB Serial device configuration # USB Serial device configuration
# #

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
# #
# USB Storage driver configuration # USB Storage driver configuration
# #

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
menuconfig TYPEC menuconfig TYPEC
tristate "USB Type-C Support" tristate "USB Type-C Support"

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
menu "USB Type-C Alternate Mode drivers" menu "USB Type-C Alternate Mode drivers"

View File

@ -1,2 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_TYPEC_DP_ALTMODE) += typec_displayport.o obj-$(CONFIG_TYPEC_DP_ALTMODE) += typec_displayport.o
typec_displayport-y := displayport.o typec_displayport-y := displayport.o

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
menu "USB Type-C Multiplexer/DeMultiplexer Switch support" menu "USB Type-C Multiplexer/DeMultiplexer Switch support"
config TYPEC_MUX_PI3USB30532 config TYPEC_MUX_PI3USB30532

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
config TYPEC_TCPM config TYPEC_TCPM
tristate "USB Type-C Port Controller Manager" tristate "USB Type-C Port Controller Manager"
depends on USB depends on USB

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
config TYPEC_UCSI config TYPEC_UCSI
tristate "USB Type-C Connector System Software Interface driver" tristate "USB Type-C Connector System Software Interface driver"
depends on !CPU_BIG_ENDIAN depends on !CPU_BIG_ENDIAN

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
config USBIP_CORE config USBIP_CORE
tristate "USB/IP support" tristate "USB/IP support"
depends on NET depends on NET

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
# #
# Wireless USB Core configuration # Wireless USB Core configuration
# #