diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-11-18 00:29:10 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-18 01:10:02 +0100 |
commit | e4f02fdabd1092065ddd8366fcb3c8483e627fc0 (patch) | |
tree | 76bb8af7e4048c2b28319eaa0df3f67609ee2ee0 /init/version.c | |
parent | epoll: remove ep_call_nested() from ep_eventpoll_poll() (diff) | |
download | linux-e4f02fdabd1092065ddd8366fcb3c8483e627fc0.tar.xz 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/version.c')
-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> |