aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/qcom
diff options
context:
space:
mode:
authorMin-Hua Chen <minhuadotchen@gmail.com>2023-07-13 23:17:43 +0800
committerMark Brown <broonie@kernel.org>2023-07-13 16:20:25 +0100
commitdf43fba7c75545094639be42a85502634f075a19 (patch)
tree324d7f1e6a305b04e5d8c2a96104b908ec95b90e /sound/soc/qcom
parentASoC: amd: acp: clean up some inconsistent indentings (diff)
downloadwireguard-linux-df43fba7c75545094639be42a85502634f075a19.tar.xz
wireguard-linux-df43fba7c75545094639be42a85502634f075a19.zip
ASoC: q6dsp: q6apm: make g_apm static
This patch fixes the following sprse warning: sound/soc/qcom/qdsp6/q6apm.c:30:14: sparse: warning: symbol 'g_apm' was not declared. Should it be static? No functional change intended Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com> Link: https://lore.kernel.org/r/20230713151744.86072-1-minhuadotchen@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom')
-rw-r--r--sound/soc/qcom/qdsp6/q6apm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/qcom/qdsp6/q6apm.c b/sound/soc/qcom/qdsp6/q6apm.c
index 5d44d07acd69..2a2a5bd98110 100644
--- a/sound/soc/qcom/qdsp6/q6apm.c
+++ b/sound/soc/qcom/qdsp6/q6apm.c
@@ -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)
{