USB: core: add missing license information to some files

Some of the USB core files were missing explicit license information.
As all files in the kernel tree are implicitly licensed under the
GPLv2-only, be explicit in case someone get confused looking at
individual files by using the SPDX nomenclature.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Greg Kroah-Hartman 2016-10-28 17:16:36 -04:00
parent 4911f94dd3
commit b65fba3d87
13 changed files with 40 additions and 1 deletions

View File

@ -3,6 +3,9 @@
* *
* This implementation plugs in through generic "usb_bus" level methods, * This implementation plugs in through generic "usb_bus" level methods,
* and should work with all USB controllers, regardless of bus type. * and should work with all USB controllers, regardless of bus type.
*
* Released under the GPLv2 only.
* SPDX-License-Identifier: GPL-2.0
*/ */
#include <linux/module.h> #include <linux/module.h>

View File

@ -1,3 +1,8 @@
/*
* Released under the GPLv2 only.
* SPDX-License-Identifier: GPL-2.0
*/
#include <linux/usb.h> #include <linux/usb.h>
#include <linux/usb/ch9.h> #include <linux/usb/ch9.h>
#include <linux/usb/hcd.h> #include <linux/usb/hcd.h>

View File

@ -15,6 +15,9 @@
* (usb_device_id matching changes by Adam J. Richter) * (usb_device_id matching changes by Adam J. Richter)
* (C) Copyright Greg Kroah-Hartman 2002-2003 * (C) Copyright Greg Kroah-Hartman 2002-2003
* *
* Released under the GPLv2 only.
* SPDX-License-Identifier: GPL-2.0
*
* NOTE! This is not actually a driver at all, rather this is * NOTE! This is not actually a driver at all, rather this is
* just a collection of helper routines that implement the * just a collection of helper routines that implement the
* matching, probing, releasing, suspending and resuming for * matching, probing, releasing, suspending and resuming for

View File

@ -5,8 +5,10 @@
* (C) Copyright 2002,2004 IBM Corp. * (C) Copyright 2002,2004 IBM Corp.
* (C) Copyright 2006 Novell Inc. * (C) Copyright 2006 Novell Inc.
* *
* Endpoint sysfs stuff * Released under the GPLv2 only.
* SPDX-License-Identifier: GPL-2.0
* *
* Endpoint sysfs stuff
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>

View File

@ -13,6 +13,8 @@
* (usb_device_id matching changes by Adam J. Richter) * (usb_device_id matching changes by Adam J. Richter)
* (C) Copyright Greg Kroah-Hartman 2002-2003 * (C) Copyright Greg Kroah-Hartman 2002-2003
* *
* Released under the GPLv2 only.
* SPDX-License-Identifier: GPL-2.0
*/ */
#include <linux/module.h> #include <linux/module.h>

View File

@ -15,6 +15,8 @@
* (usb_device_id matching changes by Adam J. Richter) * (usb_device_id matching changes by Adam J. Richter)
* (C) Copyright Greg Kroah-Hartman 2002-2003 * (C) Copyright Greg Kroah-Hartman 2002-2003
* *
* Released under the GPLv2 only.
* SPDX-License-Identifier: GPL-2.0
*/ */
#include <linux/usb.h> #include <linux/usb.h>

View File

@ -6,6 +6,8 @@
* (C) Copyright 1999 Gregory P. Smith * (C) Copyright 1999 Gregory P. Smith
* (C) Copyright 2001 Brad Hards (bhards@bigpond.net.au) * (C) Copyright 2001 Brad Hards (bhards@bigpond.net.au)
* *
* Released under the GPLv2 only.
* SPDX-License-Identifier: GPL-2.0
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>

View File

@ -1,5 +1,8 @@
/* /*
* message.c - synchronous message handling * message.c - synchronous message handling
*
* Released under the GPLv2 only.
* SPDX-License-Identifier: GPL-2.0
*/ */
#include <linux/pci.h> /* for scatterlist macros */ #include <linux/pci.h> /* for scatterlist macros */

View File

@ -6,6 +6,8 @@
* notifier functions originally based on those in kernel/sys.c * notifier functions originally based on those in kernel/sys.c
* but fixed up to not be so broken. * but fixed up to not be so broken.
* *
* Released under the GPLv2 only.
* SPDX-License-Identifier: GPL-2.0
*/ */

View File

@ -7,6 +7,8 @@
* *
* All of the sysfs file attributes for usb devices and interfaces. * All of the sysfs file attributes for usb devices and interfaces.
* *
* Released under the GPLv2 only.
* SPDX-License-Identifier: GPL-2.0
*/ */

View File

@ -1,3 +1,8 @@
/*
* Released under the GPLv2 only.
* SPDX-License-Identifier: GPL-2.0
*/
#include <linux/module.h> #include <linux/module.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/bitops.h> #include <linux/bitops.h>

View File

@ -12,6 +12,9 @@
* (usb_device_id matching changes by Adam J. Richter) * (usb_device_id matching changes by Adam J. Richter)
* (C) Copyright Greg Kroah-Hartman 2002-2003 * (C) Copyright Greg Kroah-Hartman 2002-2003
* *
* Released under the GPLv2 only.
* SPDX-License-Identifier: GPL-2.0
*
* NOTE! This is not actually a driver at all, rather this is * NOTE! This is not actually a driver at all, rather this is
* just a collection of helper routines that implement the * just a collection of helper routines that implement the
* generic USB things that the real drivers can use.. * generic USB things that the real drivers can use..

View File

@ -1,3 +1,8 @@
/*
* Released under the GPLv2 only.
* SPDX-License-Identifier: GPL-2.0
*/
#include <linux/pm.h> #include <linux/pm.h>
#include <linux/acpi.h> #include <linux/acpi.h>