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>
This commit is contained in:
@@ -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__ */
|
||||
|
Reference in New Issue
Block a user