]> git.baikalelectronics.ru Git - kernel.git/commit
init/version.c: include <linux/export.h> instead of <linux/module.h>
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 17 Nov 2017 23:29:10 +0000 (15:29 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 18 Nov 2017 00:10:02 +0000 (16:10 -0800)
commitfc45bcde95fbf622fc384b4ae95051824f8890c8
tree76bb8af7e4048c2b28319eaa0df3f67609ee2ee0
parent52f177d1605c54836d2b6698a0576ed3d99f8d1a
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>
init/version.c