diff options
author | 2025-06-08 22:27:37 +0800 | |
---|---|---|
committer | 2025-06-08 23:29:06 +0100 | |
commit | a4e469c1e2e0ec7f08fff9ed29f5500f187ba9f2 (patch) | |
tree | d4dd8e26c3dd22701375ab05b21cfce364e2ce86 | |
parent | ASoC: codecs: ES8326: Modify initialization configuration (diff) | |
download | wireguard-linux-a4e469c1e2e0ec7f08fff9ed29f5500f187ba9f2.tar.xz wireguard-linux-a4e469c1e2e0ec7f08fff9ed29f5500f187ba9f2.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | sound/soc/loongson/loongson_i2s.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/loongson/loongson_i2s.c b/sound/soc/loongson/loongson_i2s.c index e8852a30f213..e336656e13eb 100644 --- a/sound/soc/loongson/loongson_i2s.c +++ b/sound/soc/loongson/loongson_i2s.c @@ -9,6 +9,7 @@ #include <linux/module.h> #include <linux/platform_device.h> #include <linux/delay.h> +#include <linux/export.h> #include <linux/pm_runtime.h> #include <linux/dma-mapping.h> #include <sound/soc.h> |