aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-10-18 13:50:53 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-14 11:36:53 +0800
commitbf49d9dd6fef688733e2ddbd55f7bcb57df194e4 (patch)
treecaa0cefe08be1e6d062ce62fc7e5187f75c5a226 /include/linux/module.h
parentLinux 5.4-rc7 (diff)
downloadlinux-dev-bf49d9dd6fef688733e2ddbd55f7bcb57df194e4.tar.xz
linux-dev-bf49d9dd6fef688733e2ddbd55f7bcb57df194e4.zip
export,module: add SPDX GPL-2.0 license identifier to headers with no license
Commit b24413180f56 ("License cleanup: add SPDX GPL-2.0 license identifier to files with no license") took care of a lot of files without any license information. These headers were not processed by the tool perhaps because they contain "GPL" in the code. I do not see any license boilerplate in them, so they fall back to GPL version 2 only, which is the project default. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Link: https://lore.kernel.org/r/20191018045053.8424-1-yamada.masahiro@socionext.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/module.h')
-rw-r--r--include/linux/module.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/module.h b/include/linux/module.h
index 6d20895e7739..bd165ba68617 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -1,11 +1,14 @@
-#ifndef _LINUX_MODULE_H
-#define _LINUX_MODULE_H
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Dynamic loading of modules into the kernel.
*
* Rewritten by Richard Henderson <rth@tamu.edu> Dec 1996
* Rewritten again by Rusty Russell, 2002
*/
+
+#ifndef _LINUX_MODULE_H
+#define _LINUX_MODULE_H
+
#include <linux/list.h>
#include <linux/stat.h>
#include <linux/compiler.h>