From: Kuninori Morimoto Date: Wed, 8 Apr 2026 05:22:06 +0000 (+0000) Subject: ASoC: amd: acp-da7219-max98357a: tidyup acp_soc_is_rltk_max() X-Git-Url: http://git.ipfire.org/index.cgi?a=commitdiff_plain;h=3f4aa994c0cc3616b8758345508ccddc6f324dfc;p=thirdparty%2Fkernel%2Flinux.git 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 Link: https://patch.msgid.link/87h5pmvxfm.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c index 3c08e6e17e41c..af559653e6255 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;