Skip to content

Commit e4f02fd

Browse files
masahir0ytorvalds
authored andcommitted
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>
1 parent 37b5e52 commit e4f02fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎init/version.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
#include <generated/compile.h>
10-
#include <linux/module.h>
10+
#include <linux/export.h>
1111
#include <linux/uts.h>
1212
#include <linux/utsname.h>
1313
#include <generated/utsrelease.h>

0 commit comments

Comments
 (0)