Browse Source

ASoC: qcom: ipq806x_lpass_alloc_dma_channel() can be static

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
kbuild test robot 10 years ago
parent
commit
7cc24b169f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      sound/soc/qcom/lpass-ipq806x.c

+ 2 - 2
sound/soc/qcom/lpass-ipq806x.c

@@ -63,12 +63,12 @@ static struct snd_soc_dai_driver ipq806x_lpass_cpu_dai_driver = {
 	.ops    = &asoc_qcom_lpass_cpu_dai_ops,
 };
 
-int ipq806x_lpass_alloc_dma_channel(struct lpass_data *drvdata)
+static int ipq806x_lpass_alloc_dma_channel(struct lpass_data *drvdata)
 {
 	return IPQ806X_LPAIF_RDMA_CHAN_MI2S;
 }
 
-int ipq806x_lpass_free_dma_channel(struct lpass_data *drvdata, int chan)
+static int ipq806x_lpass_free_dma_channel(struct lpass_data *drvdata, int chan)
 {
 	return 0;
 }