]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: amd: acp-da7219-max98357a: tidyup acp_soc_is_rltk_max()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 8 Apr 2026 05:22:06 +0000 (05:22 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 8 Apr 2026 13:21:56 +0000 (14:21 +0100)
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>
sound/soc/amd/acp-da7219-max98357a.c

index 3c08e6e17e41cb71d789d81d130efb7f334db2c8..af559653e62554eac452f943a09609d2dcb4dfe2 100644 (file)
@@ -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;