mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
After commita934a57a42("scripts/misc-check: check missing #include <linux/export.h> when W=1") and7d95680d64("scripts/misc-check: check unnecessary #include <linux/export.h> when W=1"), we get some build warnings with W=1: init/main.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing init/initramfs.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing So fix these build warnings for the init code. Link: https://lkml.kernel.org/r/[email protected] Fixes:a934a57a42("scripts/misc-check: check missing #include <linux/export.h> when W=1") Signed-off-by: Huacai Chen <[email protected]> Reviewed-by: Masahiro Yamada <[email protected]> Cc: Al Viro <[email protected]> Cc: Christian Brauner <[email protected]> Cc: Jan Kara <[email protected]> Signed-off-by: Andrew Morton <[email protected]>