]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commite4f02fdabd1092065ddd8366fcb3c8483e627fc0
tree76bb8af7e4048c2b28319eaa0df3f67609ee2ee0
parent37b5e5212a448bac0fe29d2a51f088014fbaaa41
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