Skip to contentSkip to conversation

soc: imx8m: Make imx8m_dsp_ops static

PATCH New ChenTao 1 participant 1 message Apr 29, 2020

Subsystems (4)
lore
Share & tools
lore

ChenTao

author
#0 lore raw

PATCH v2 1/1 soc: imx8m: Make imx8m_dsp_ops static

Fix the following warning:

sound/soc/sof/imx/imx8m.c:95:20: warning:
symbol 'imx8m_dsp_ops' was not declared. Should it be static?

---
v1->v2:
- add recipient [email protected] [email protected]

 sound/soc/sof/imx/imx8m.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/sof/imx/imx8m.c +1 -1
index 07451ba4efae..1a5b0f9ebac1 100644
@@ -92,7 +92,7 @@ static void imx8m_dsp_handle_request(struct imx_dsp_ipc *ipc)
 	snd_sof_ipc_msgs_rx(priv->sdev);
 }
 
-struct imx_dsp_ops imx8m_dsp_ops = {
+static struct imx_dsp_ops imx8m_dsp_ops = {
 	.handle_reply		= imx8m_dsp_handle_reply,
 	.handle_request		= imx8m_dsp_handle_request,
 };
Signature · 1 line
2.22.0