mirror of https://gitee.com/openkylin/linux.git
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:
parent
4911f94dd3
commit
b65fba3d87
|
@ -3,6 +3,9 @@
|
|||
*
|
||||
* This implementation plugs in through generic "usb_bus" level methods,
|
||||
* 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>
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/*
|
||||
* Released under the GPLv2 only.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
|
||||
#include <linux/usb.h>
|
||||
#include <linux/usb/ch9.h>
|
||||
#include <linux/usb/hcd.h>
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
* (usb_device_id matching changes by Adam J. Richter)
|
||||
* (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
|
||||
* just a collection of helper routines that implement the
|
||||
* matching, probing, releasing, suspending and resuming for
|
||||
|
|
|
@ -5,8 +5,10 @@
|
|||
* (C) Copyright 2002,2004 IBM Corp.
|
||||
* (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>
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
* (usb_device_id matching changes by Adam J. Richter)
|
||||
* (C) Copyright Greg Kroah-Hartman 2002-2003
|
||||
*
|
||||
* Released under the GPLv2 only.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
|
||||
#include <linux/module.h>
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
* (usb_device_id matching changes by Adam J. Richter)
|
||||
* (C) Copyright Greg Kroah-Hartman 2002-2003
|
||||
*
|
||||
* Released under the GPLv2 only.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
|
||||
#include <linux/usb.h>
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
* (C) Copyright 1999 Gregory P. Smith
|
||||
* (C) Copyright 2001 Brad Hards (bhards@bigpond.net.au)
|
||||
*
|
||||
* Released under the GPLv2 only.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
|
||||
#include <linux/kernel.h>
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
/*
|
||||
* message.c - synchronous message handling
|
||||
*
|
||||
* Released under the GPLv2 only.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
|
||||
#include <linux/pci.h> /* for scatterlist macros */
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
* notifier functions originally based on those in kernel/sys.c
|
||||
* but fixed up to not be so broken.
|
||||
*
|
||||
* Released under the GPLv2 only.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
*
|
||||
* All of the sysfs file attributes for usb devices and interfaces.
|
||||
*
|
||||
* Released under the GPLv2 only.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/*
|
||||
* Released under the GPLv2 only.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/bitops.h>
|
||||
|
|
|
@ -12,6 +12,9 @@
|
|||
* (usb_device_id matching changes by Adam J. Richter)
|
||||
* (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
|
||||
* just a collection of helper routines that implement the
|
||||
* generic USB things that the real drivers can use..
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
/*
|
||||
* Released under the GPLv2 only.
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
|
||||
#include <linux/pm.h>
|
||||
#include <linux/acpi.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue