ASoC: amd: acp: Fix -Wmissing-prototypes warning
authorMarian Postevca <posteuca@mutex.one>
Wed, 13 Sep 2023 21:09:16 +0000 (00:09 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 13 Sep 2023 21:13:42 +0000 (22:13 +0100)
Fix prototype missing warning for acp3x_es83xx_init_ops() by
including the header acp3x-es83xx.h

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202309111220.g63yHDfH-lkp@intel.com/
Signed-off-by: Marian Postevca <posteuca@mutex.one>
Link: https://lore.kernel.org/r/20230913210916.2523-1-posteuca@mutex.one
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c

index 47ce2f6c74bb8add293b3550bb7548f05797fa6f..7ce15216c3f090923f4e3d87e6aa58d84faa75eb 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/acpi.h>
 #include <linux/dmi.h>
 #include "../acp-mach.h"
+#include "acp3x-es83xx.h"
 
 #define get_mach_priv(card) ((struct acp3x_es83xx_private *)((acp_get_drvdata(card))->mach_priv))