diff options
author | Masahiro Yamada <[email protected]> | 2017-11-17 15:29:10 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-11-17 16:10:02 -0800 |
commit | e4f02fdabd1092065ddd8366fcb3c8483e627fc0 (patch) | |
tree | 76bb8af7e4048c2b28319eaa0df3f67609ee2ee0 | |
parent | 37b5e5212a448bac0fe29d2a51f088014fbaaa41 (diff) |
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/[email protected]
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Paul Gortmaker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
-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> |