[RFC PATCH] ASoC: topology: elem_load[] can be static

kbuild test robot lkp at intel.com
Wed May 13 04:43:23 CEST 2020


Signed-off-by: kbuild test robot <lkp at intel.com>
---
 soc-topology.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c
index b3dae319c1086..70c0ff7ce13ff 100644
--- a/sound/soc/soc-topology.c
+++ b/sound/soc/soc-topology.c
@@ -2636,7 +2636,7 @@ static int soc_tplg_manifest_load(struct soc_tplg *tplg,
 	return ret;
 }
 
-int (*elem_load[])(struct soc_tplg *, struct snd_soc_tplg_hdr *) = {
+static int (*elem_load[])(struct soc_tplg *, struct snd_soc_tplg_hdr *) = {
 	[SOC_TPLG_PASS_MANIFEST]	= soc_tplg_manifest_load,
 	[SOC_TPLG_PASS_VENDOR]		= soc_tplg_vendor_load,
 	[SOC_TPLG_PASS_MIXER]		= soc_tplg_kcontrol_elems_load,


More information about the Alsa-devel mailing list