]> git.karo-electronics.de Git - linux-beck.git/commitdiff
USB: core: add missing license information to some files
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Oct 2016 21:16:36 +0000 (17:16 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 29 Oct 2016 16:51:56 +0000 (12:51 -0400)
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>
13 files changed:
drivers/usb/core/buffer.c
drivers/usb/core/config.c
drivers/usb/core/driver.c
drivers/usb/core/endpoint.c
drivers/usb/core/file.c
drivers/usb/core/generic.c
drivers/usb/core/hub.c
drivers/usb/core/message.c
drivers/usb/core/notify.c
drivers/usb/core/sysfs.c
drivers/usb/core/urb.c
drivers/usb/core/usb.c
drivers/usb/core/usb.h

index 98e39f91723a52ec7cf607dc60f50035e66a569f..b9bf6e2eb6feabc49daebff549b361d06622d8e9 100644 (file)
@@ -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>
index a2d90aca779fa16fb07e1327f33a41129c719e63..0aa9e7d697a5df8a8d25194c377498ddce049d87 100644 (file)
@@ -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>
index dadd1e8dfe09ded9d28e541099d43f582707596c..cdee5130638b109e5be899c41b8a5f432620c4e3 100644 (file)
@@ -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
index 101983b7e8d271f7aaedf1b594b4579dfefb489d..b73b25bd15414e877a73eb04347efb9799540ed0 100644 (file)
@@ -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>
index 822ced9639aaf67463b359055ee825ff863761ea..e26bd5e773ada0685329ec8ed65084ff72d7242d 100644 (file)
@@ -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>
index 358ca8dd784fe43700ae070764fa783500a792fe..bd3e0c5a6db25e7a162d922c6508de1ad0b68025 100644 (file)
@@ -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>
index cbb146736f577da8a060d49b17052af78881adfa..76e80d8657d228994bc78c3143da7ec317799a49 100644 (file)
@@ -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>
index 3a47077461578f2af47af8d551353c2c7cb12f0e..dea55914d6410c5b472c36562864baee3143bf86 100644 (file)
@@ -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 */
index 7728c91dfa2e61eb50b21d75f558a96342db60a2..b12a463a3e22176caf4ecc8e84d4da231edbb96b 100644 (file)
@@ -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
  */
 
 
index 84d66d57319619fce52fb7c05a443dd3d45c809f..dfc68ed24db19bbba53f825bbe650894748d5551 100644 (file)
@@ -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
  */
 
 
index a9039696476e68c8da475bbe40e1b841e64d903b..0be49a1e3e66562f226b6dde396a3d422842bbdd 100644 (file)
@@ -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>
index 5921514610179f04232e11da85746344ff3ee3e0..a2ccc69fb45c092a5220474c64b03418133f2178 100644 (file)
@@ -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..
index 53318126ed91b24603934030702a0dae178cc5d1..dc69492488234141b9980fee41045b5461da206d 100644 (file)
@@ -1,3 +1,8 @@
+/*
+ * Released under the GPLv2 only.
+ * SPDX-License-Identifier: GPL-2.0
+ */
+
 #include <linux/pm.h>
 #include <linux/acpi.h>