MIPS/Loongson: Fix build warnings about export.h
authorHuacai Chen <chenhuacai@loongson.cn>
Sun, 8 Jun 2025 14:20:10 +0000 (22:20 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 2 Jul 2025 11:31:43 +0000 (13:31 +0200)
commit3376910ff827e11976633bd28d3e43e24131eefe
tree846b6781684a6db8954e94a83fd85dba2baf95ef
parent9591220e7a6c12c788b1fc013c39af26edf99538
MIPS/Loongson: Fix build warnings about export.h

After commit a934a57a42f64a4 ("scripts/misc-check: check missing #include
<linux/export.h> when W=1") and 7d95680d64ac8e836c ("scripts/misc-check:
check unnecessary #include <linux/export.h> when W=1"), we get some build
warnings with W=1:

arch/mips/loongson64/setup.c: warning: EXPORT_SYMBOL() is not used, but #include <linux/export.h> is present

So fix these build warnings for MIPS/Loongson.

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Reviewed-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/loongson64/setup.c