summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2026-04-08 08:22:06 +0300
committerMark Brown <broonie@kernel.org>2026-04-08 16:21:56 +0300
commit3f4aa994c0cc3616b8758345508ccddc6f324dfc (patch)
tree3c4fe6485fa6462d9685cd5a309abba0c8a0f225
parent3666dc0c47c399695d01fde7c36e08b14f834fa0 (diff)
downloadlinux-3f4aa994c0cc3616b8758345508ccddc6f324dfc.tar.xz
ASoC: amd: acp-da7219-max98357a: tidyup acp_soc_is_rltk_max()
acp-da7219-max98357a() user exists behind it. No need to has pre-define. Remove it. And it is local function, add static. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://patch.msgid.link/87h5pmvxfm.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/amd/acp-da7219-max98357a.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c
index 3c08e6e17e41..af559653e625 100644
--- a/sound/soc/amd/acp-da7219-max98357a.c
+++ b/sound/soc/amd/acp-da7219-max98357a.c
@@ -47,8 +47,6 @@ static struct clk *da7219_dai_bclk;
static struct clk *rt5682_dai_wclk;
static struct clk *rt5682_dai_bclk;
-void *acp_soc_is_rltk_max(struct device *dev);
-
static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd)
{
int ret;
@@ -703,7 +701,7 @@ static struct snd_soc_card cz_rt5682_card = {
.num_controls = ARRAY_SIZE(cz_mc_controls),
};
-void *acp_soc_is_rltk_max(struct device *dev)
+static void *acp_soc_is_rltk_max(struct device *dev)
{
const struct acpi_device_id *match;