summaryrefslogtreecommitdiffstats
path: root/sound/soc/qcom/lpass.h
diff options
context:
space:
mode:
authorAxel Lin2015-08-28 04:53:31 +0200
committerMark Brown2015-08-28 18:29:06 +0200
commit618718dc56a49321a12f231b34f6c43f44c3c374 (patch)
treec9277d3a44f0c4c4cbdaeed20e31f8892bfab501 /sound/soc/qcom/lpass.h
parentASoC: lpass-ipq806x: Staticise local symbols (diff)
downloadkernel-qcow2-linux-618718dc56a49321a12f231b34f6c43f44c3c374.tar.gz
kernel-qcow2-linux-618718dc56a49321a12f231b34f6c43f44c3c374.tar.xz
kernel-qcow2-linux-618718dc56a49321a12f231b34f6c43f44c3c374.zip
ASoC: qcom: Constify asoc_qcom_lpass_cpu_dai_ops
asoc_qcom_lpass_cpu_dai_ops is exported and used by multiple drivers, make it const to prevent modifying it at run time. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom/lpass.h')
-rw-r--r--sound/soc/qcom/lpass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/qcom/lpass.h b/sound/soc/qcom/lpass.h
index d6e86c119e74..0b63e2e5bcc9 100644
--- a/sound/soc/qcom/lpass.h
+++ b/sound/soc/qcom/lpass.h
@@ -93,6 +93,6 @@ int asoc_qcom_lpass_platform_register(struct platform_device *);
int asoc_qcom_lpass_cpu_platform_remove(struct platform_device *pdev);
int asoc_qcom_lpass_cpu_platform_probe(struct platform_device *pdev);
int asoc_qcom_lpass_cpu_dai_probe(struct snd_soc_dai *dai);
-extern struct snd_soc_dai_ops asoc_qcom_lpass_cpu_dai_ops;
+extern const struct snd_soc_dai_ops asoc_qcom_lpass_cpu_dai_ops;
#endif /* __LPASS_H__ */