Skip to content

Commit a4e469c

Browse files
chenhuacaibroonie
authored andcommitted
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent b44b269 commit a4e469c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/soc/loongson/loongson_i2s.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <linux/module.h>
1010
#include <linux/platform_device.h>
1111
#include <linux/delay.h>
12+
#include <linux/export.h>
1213
#include <linux/pm_runtime.h>
1314
#include <linux/dma-mapping.h>
1415
#include <sound/soc.h>

0 commit comments

Comments
 (0)