diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-11-17 15:29:10 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-17 16:10:02 -0800 |
commit | e4f02fdabd1092065ddd8366fcb3c8483e627fc0 (patch) | |
tree | 76bb8af7e4048c2b28319eaa0df3f67609ee2ee0 /init | |
parent | 37b5e5212a448bac0fe29d2a51f088014fbaaa41 (diff) | |
download | talos-obmc-linux-e4f02fdabd1092065ddd8366fcb3c8483e627fc0.tar.gz talos-obmc-linux-e4f02fdabd1092065ddd8366fcb3c8483e627fc0.zip |
init/version.c: include <linux/export.h> instead of <linux/module.h>
init/version.c has nothing to do with modules, so remove the
<linux/modude.h>.
Instead, include <linux/export.h> for EXPORT_SYMBOL_GPL.
This cuts off a lot of unnecessary header parsing.
Link: http://lkml.kernel.org/r/1505920984-8523-1-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
-rw-r--r-- | init/version.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/version.c b/init/version.c index 5606341e9efd..bfb4e3f4955e 100644 --- a/init/version.c +++ b/init/version.c @@ -7,7 +7,7 @@ */ #include <generated/compile.h> -#include <linux/module.h> +#include <linux/export.h> #include <linux/uts.h> #include <linux/utsname.h> #include <generated/utsrelease.h> |