]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: loongson: Fix build warnings about export.h
authorHuacai Chen <chenhuacai@loongson.cn>
Sun, 8 Jun 2025 14:27:37 +0000 (22:27 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 8 Jun 2025 22:29:06 +0000 (23:29 +0100)
commita4e469c1e2e0ec7f08fff9ed29f5500f187ba9f2
treed4dd8e26c3dd22701375ab05b21cfce364e2ce86
parentb44b2694005b501b2eaeb56aa778f3ca22de4659
ASoC: loongson: Fix build warnings about export.h

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

sound/soc/loongson/loongson_i2s.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing

So fix these build warnings for ASoC/Loongson.

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Link: https://patch.msgid.link/20250608142737.168829-1-chenhuacai@loongson.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/loongson/loongson_i2s.c