From: Pierre-Louis Bossart Date: Tue, 23 Aug 2022 15:40:27 +0000 (+0200) Subject: ASoC: SOF: imx: imx8ulp: declare ops structure as static X-Git-Tag: v6.6.17~5842^2~29^2~171 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1332d2078a839b371b3d541c3653a800d12a763d;p=platform%2Fkernel%2Flinux-rpi.git ASoC: SOF: imx: imx8ulp: declare ops structure as static Sparse warning: sound/soc/sof/imx/imx8ulp.c:416:24: error: symbol 'sof_imx8ulp_ops' was not declared. Should it be static? Signed-off-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20220823154027.762889-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/sof/imx/imx8ulp.c b/sound/soc/sof/imx/imx8ulp.c index 02b496165acc..afab7feab5fb 100644 --- a/sound/soc/sof/imx/imx8ulp.c +++ b/sound/soc/sof/imx/imx8ulp.c @@ -413,7 +413,7 @@ static int imx8ulp_dsp_set_power_state(struct snd_sof_dev *sdev, } /* i.MX8 ops */ -struct snd_sof_dsp_ops sof_imx8ulp_ops = { +static struct snd_sof_dsp_ops sof_imx8ulp_ops = { /* probe and remove */ .probe = imx8ulp_probe, .remove = imx8ulp_remove,