ASoC: SOF: compr: Mark snd_compress_ops static
authorDaniel Baluta <daniel.baluta@nxp.com>
Fri, 11 Feb 2022 08:26:31 +0000 (10:26 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 11 Feb 2022 10:31:26 +0000 (10:31 +0000)
commite7c799e76f070b4ac13498e532574466064ad6a5
tree1a1cc2439f6540a2bbc5ecb1c8d931cbf0644dbc
parent695c105933cfa04ccf84088342193ae43e37e0f5
ASoC: SOF: compr: Mark snd_compress_ops static

Functions won't be directly used outside of compress.c file
so mark them as static.

This will also fix warnings reported by kernel test robot:

>> sound/soc/sof/compress.c:91:5: warning: no previous prototype for
function 'sof_compr_open' [-Wmissing-prototypes]
   int sof_compr_open(struct snd_soc_component *component,
       ^
   sound/soc/sof/compress.c:91:1: note: declare 'static' if the function
is not intended to be used outside of this translation unit
   int sof_compr_open(struct snd_soc_component *component,

Fixes: 6324cf901e14 ("SoC: SOF: compr: Add compress ops implementation")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/20220211082631.179735-1-daniel.baluta@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/compress.c