summaryrefslogtreecommitdiffstats
path: root/drivers/base/module.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-07 17:30:07 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-07 18:36:43 +0100
commit989d42e85dc2f6823f39b8e9d080fd04bae0645d (patch)
tree89dc96baef4a6af8644ee6cab7a356e409b38e7a /drivers/base/module.c
parentkobject: Remove redundant license text (diff)
downloadlinux-989d42e85dc2f6823f39b8e9d080fd04bae0645d.tar.xz
linux-989d42e85dc2f6823f39b8e9d080fd04bae0645d.zip
driver core: add SPDX identifiers to all driver core files
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. Update the driver core files files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart. Cc: Johannes Berg <johannes@sipsolutions.net> Cc: "Luis R. Rodriguez" <mcgrof@kernel.org> Cc: William Breathitt Gray <vilhelm.gray@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Kate Stewart <kstewart@linuxfoundation.org> Cc: Philippe Ombredanne <pombredanne@nexb.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/module.c')
-rw-r--r--drivers/base/module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/module.c b/drivers/base/module.c
index 2a215780eda2..9e50e55c547a 100644
--- a/drivers/base/module.c
+++ b/drivers/base/module.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* module.c - module sysfs fun for drivers
*