ASoC: q6dsp: Make g_apm staic
Subsystems (3)
PATCH 1/1 ASoC: q6dsp: Make g_apm staic
g_apm is not referred elsewhere, so make it static.
This resolves sparse warning:
warning: symbol 'g_apm' was not declared. Should it be static?
Signed-off-by GUO Zihua <[email protected]>
--- sound/soc/qcom/qdsp6/q6apm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/qcom/qdsp6/q6apm.c +1 -1
@@ -27,7 +27,7 @@ struct apm_graph_mgmt_cmd {#define APM_GRAPH_MGMT_PSIZE (p, n) ALIGN(struct_size(p, sub_graph_id_list, n), 8) -struct q6apm *g_apm; +static struct q6apm *g_apm;int q6apm_send_cmd_sync (struct q6apm *apm,struct gpr_pkt *pkt,uint32_t rsp_opcode) {
Signature · 1 line
2.17.1