summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarian Postevca <posteuca@mutex.one>2023-09-14 00:09:16 +0300
committerMark Brown <broonie@kernel.org>2023-09-13 22:13:42 +0100
commitcfaa4c32ccd3a4cb1140416a9ab51904e938d767 (patch)
treee175d8790a5125adf6d5825ff7ccebf307c930ff
parentbc51fbeea39e34b9a01820fea5b6092fcc5b48f2 (diff)
downloadlinux-stable-cfaa4c32ccd3a4cb1140416a9ab51904e938d767.tar.gz
linux-stable-cfaa4c32ccd3a4cb1140416a9ab51904e938d767.tar.bz2
linux-stable-cfaa4c32ccd3a4cb1140416a9ab51904e938d767.zip
ASoC: amd: acp: Fix -Wmissing-prototypes warning
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>
-rw-r--r--sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c b/sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c
index 47ce2f6c74bb..7ce15216c3f0 100644
--- a/sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c
+++ b/sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c
@@ -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))