aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-28 17:16:36 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-29 12:51:56 -0400
commitb65fba3d87216bfe6ae9bc77be5eb6eabb6514a4 (patch)
treef7a0ad87400e0bdbf30da3ce1adec589263d34ea
parent4911f94dd327d16e492628f04661c1ea6e3d8d23 (diff)
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>
-rw-r--r--drivers/usb/core/buffer.c3
-rw-r--r--drivers/usb/core/config.c5
-rw-r--r--drivers/usb/core/driver.c3
-rw-r--r--drivers/usb/core/endpoint.c4
-rw-r--r--drivers/usb/core/file.c2
-rw-r--r--drivers/usb/core/generic.c2
-rw-r--r--drivers/usb/core/hub.c2
-rw-r--r--drivers/usb/core/message.c3
-rw-r--r--drivers/usb/core/notify.c2
-rw-r--r--drivers/usb/core/sysfs.c2
-rw-r--r--drivers/usb/core/urb.c5
-rw-r--r--drivers/usb/core/usb.c3
-rw-r--r--drivers/usb/core/usb.h5
13 files changed, 40 insertions, 1 deletions
diff --git a/drivers/usb/core/buffer.c b/drivers/usb/core/buffer.c
index 98e39f91723a..b9bf6e2eb6fe 100644
--- a/drivers/usb/core/buffer.c
+++ b/drivers/usb/core/buffer.c
@@ -3,6 +3,9 @@
3 * 3 *
4 * This implementation plugs in through generic "usb_bus" level methods, 4 * This implementation plugs in through generic "usb_bus" level methods,
5 * and should work with all USB controllers, regardless of bus type. 5 * and should work with all USB controllers, regardless of bus type.
6 *
7 * Released under the GPLv2 only.
8 * SPDX-License-Identifier: GPL-2.0
6 */ 9 */
7 10
8#include <linux/module.h> 11#include <linux/module.h>
diff --git a/drivers/usb/core/config.c b/drivers/usb/core/config.c
index a2d90aca779f..0aa9e7d697a5 100644
--- a/drivers/usb/core/config.c
+++ b/drivers/usb/core/config.c
@@ -1,3 +1,8 @@
1/*
2 * Released under the GPLv2 only.
3 * SPDX-License-Identifier: GPL-2.0
4 */
5
1#include <linux/usb.h> 6#include <linux/usb.h>
2#include <linux/usb/ch9.h> 7#include <linux/usb/ch9.h>
3#include <linux/usb/hcd.h> 8#include <linux/usb/hcd.h>
diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c
index dadd1e8dfe09..cdee5130638b 100644
--- a/drivers/usb/core/driver.c
+++ b/drivers/usb/core/driver.c
@@ -15,6 +15,9 @@
15 * (usb_device_id matching changes by Adam J. Richter) 15 * (usb_device_id matching changes by Adam J. Richter)
16 * (C) Copyright Greg Kroah-Hartman 2002-2003 16 * (C) Copyright Greg Kroah-Hartman 2002-2003
17 * 17 *
18 * Released under the GPLv2 only.
19 * SPDX-License-Identifier: GPL-2.0
20 *
18 * NOTE! This is not actually a driver at all, rather this is 21 * NOTE! This is not actually a driver at all, rather this is
19 * just a collection of helper routines that implement the 22 * just a collection of helper routines that implement the
20 * matching, probing, releasing, suspending and resuming for 23 * matching, probing, releasing, suspending and resuming for
diff --git a/drivers/usb/core/endpoint.c b/drivers/usb/core/endpoint.c
index 101983b7e8d2..b73b25bd1541 100644
--- a/drivers/usb/core/endpoint.c
+++ b/drivers/usb/core/endpoint.c
@@ -5,8 +5,10 @@
5 * (C) Copyright 2002,2004 IBM Corp. 5 * (C) Copyright 2002,2004 IBM Corp.
6 * (C) Copyright 2006 Novell Inc. 6 * (C) Copyright 2006 Novell Inc.
7 * 7 *
8 * Endpoint sysfs stuff 8 * Released under the GPLv2 only.
9 * SPDX-License-Identifier: GPL-2.0
9 * 10 *
11 * Endpoint sysfs stuff
10 */ 12 */
11 13
12#include <linux/kernel.h> 14#include <linux/kernel.h>
diff --git a/drivers/usb/core/file.c b/drivers/usb/core/file.c
index 822ced9639aa..e26bd5e773ad 100644
--- a/drivers/usb/core/file.c
+++ b/drivers/usb/core/file.c
@@ -13,6 +13,8 @@
13 * (usb_device_id matching changes by Adam J. Richter) 13 * (usb_device_id matching changes by Adam J. Richter)
14 * (C) Copyright Greg Kroah-Hartman 2002-2003 14 * (C) Copyright Greg Kroah-Hartman 2002-2003
15 * 15 *
16 * Released under the GPLv2 only.
17 * SPDX-License-Identifier: GPL-2.0
16 */ 18 */
17 19
18#include <linux/module.h> 20#include <linux/module.h>
diff --git a/drivers/usb/core/generic.c b/drivers/usb/core/generic.c
index 358ca8dd784f..bd3e0c5a6db2 100644
--- a/drivers/usb/core/generic.c
+++ b/drivers/usb/core/generic.c
@@ -15,6 +15,8 @@
15 * (usb_device_id matching changes by Adam J. Richter) 15 * (usb_device_id matching changes by Adam J. Richter)
16 * (C) Copyright Greg Kroah-Hartman 2002-2003 16 * (C) Copyright Greg Kroah-Hartman 2002-2003
17 * 17 *
18 * Released under the GPLv2 only.
19 * SPDX-License-Identifier: GPL-2.0
18 */ 20 */
19 21
20#include <linux/usb.h> 22#include <linux/usb.h>
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index cbb146736f57..76e80d8657d2 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -6,6 +6,8 @@
6 * (C) Copyright 1999 Gregory P. Smith 6 * (C) Copyright 1999 Gregory P. Smith
7 * (C) Copyright 2001 Brad Hards (bhards@bigpond.net.au) 7 * (C) Copyright 2001 Brad Hards (bhards@bigpond.net.au)
8 * 8 *
9 * Released under the GPLv2 only.
10 * SPDX-License-Identifier: GPL-2.0
9 */ 11 */
10 12
11#include <linux/kernel.h> 13#include <linux/kernel.h>
diff --git a/drivers/usb/core/message.c b/drivers/usb/core/message.c
index 3a4707746157..dea55914d641 100644
--- a/drivers/usb/core/message.c
+++ b/drivers/usb/core/message.c
@@ -1,5 +1,8 @@
1/* 1/*
2 * message.c - synchronous message handling 2 * message.c - synchronous message handling
3 *
4 * Released under the GPLv2 only.
5 * SPDX-License-Identifier: GPL-2.0
3 */ 6 */
4 7
5#include <linux/pci.h> /* for scatterlist macros */ 8#include <linux/pci.h> /* for scatterlist macros */
diff --git a/drivers/usb/core/notify.c b/drivers/usb/core/notify.c
index 7728c91dfa2e..b12a463a3e22 100644
--- a/drivers/usb/core/notify.c
+++ b/drivers/usb/core/notify.c
@@ -6,6 +6,8 @@
6 * notifier functions originally based on those in kernel/sys.c 6 * notifier functions originally based on those in kernel/sys.c
7 * but fixed up to not be so broken. 7 * but fixed up to not be so broken.
8 * 8 *
9 * Released under the GPLv2 only.
10 * SPDX-License-Identifier: GPL-2.0
9 */ 11 */
10 12
11 13
diff --git a/drivers/usb/core/sysfs.c b/drivers/usb/core/sysfs.c
index 84d66d573196..dfc68ed24db1 100644
--- a/drivers/usb/core/sysfs.c
+++ b/drivers/usb/core/sysfs.c
@@ -7,6 +7,8 @@
7 * 7 *
8 * All of the sysfs file attributes for usb devices and interfaces. 8 * All of the sysfs file attributes for usb devices and interfaces.
9 * 9 *
10 * Released under the GPLv2 only.
11 * SPDX-License-Identifier: GPL-2.0
10 */ 12 */
11 13
12 14
diff --git a/drivers/usb/core/urb.c b/drivers/usb/core/urb.c
index a9039696476e..0be49a1e3e66 100644
--- a/drivers/usb/core/urb.c
+++ b/drivers/usb/core/urb.c
@@ -1,3 +1,8 @@
1/*
2 * Released under the GPLv2 only.
3 * SPDX-License-Identifier: GPL-2.0
4 */
5
1#include <linux/module.h> 6#include <linux/module.h>
2#include <linux/string.h> 7#include <linux/string.h>
3#include <linux/bitops.h> 8#include <linux/bitops.h>
diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c
index 592151461017..a2ccc69fb45c 100644
--- a/drivers/usb/core/usb.c
+++ b/drivers/usb/core/usb.c
@@ -12,6 +12,9 @@
12 * (usb_device_id matching changes by Adam J. Richter) 12 * (usb_device_id matching changes by Adam J. Richter)
13 * (C) Copyright Greg Kroah-Hartman 2002-2003 13 * (C) Copyright Greg Kroah-Hartman 2002-2003
14 * 14 *
15 * Released under the GPLv2 only.
16 * SPDX-License-Identifier: GPL-2.0
17 *
15 * NOTE! This is not actually a driver at all, rather this is 18 * NOTE! This is not actually a driver at all, rather this is
16 * just a collection of helper routines that implement the 19 * just a collection of helper routines that implement the
17 * generic USB things that the real drivers can use.. 20 * generic USB things that the real drivers can use..
diff --git a/drivers/usb/core/usb.h b/drivers/usb/core/usb.h
index 53318126ed91..dc6949248823 100644
--- a/drivers/usb/core/usb.h
+++ b/drivers/usb/core/usb.h
@@ -1,3 +1,8 @@
1/*
2 * Released under the GPLv2 only.
3 * SPDX-License-Identifier: GPL-2.0
4 */
5
1#include <linux/pm.h> 6#include <linux/pm.h>
2#include <linux/acpi.h> 7#include <linux/acpi.h>
3 8