[PATCH] ASoC: amd: acp: Fix -Wmissing-prototypes warning

From: Marian Postevca
Date: Wed Sep 13 2023 - 17:09:30 EST


Fix prototype missing warning for acp3x_es83xx_init_ops() by
including the header acp3x-es83xx.h

Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202309111220.g63yHDfH-lkp@xxxxxxxxx/
Signed-off-by: Marian Postevca <posteuca@xxxxxxxxx>
---
sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c | 1 +
1 file changed, 1 insertion(+)

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))

--
2.41.0