summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2015-05-22 07:12:27 +0800
committerMark Brown <broonie@kernel.org>2015-05-22 12:14:32 +0100
commit7cc24b169fa176618c654e50cb27640b75fe68d6 (patch)
treee137839304cf29f501715a6cbebb4b1859c1d97b /sound
parent6db1c6ba9544e99778e0fdebe2d62c917fe1811c (diff)
downloadlinux-7cc24b169fa176618c654e50cb27640b75fe68d6.tar.gz
linux-7cc24b169fa176618c654e50cb27640b75fe68d6.tar.bz2
linux-7cc24b169fa176618c654e50cb27640b75fe68d6.zip
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/qcom/lpass-ipq806x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/qcom/lpass-ipq806x.c b/sound/soc/qcom/lpass-ipq806x.c
index 2eab828644e8..7356d3a766d6 100644
--- a/sound/soc/qcom/lpass-ipq806x.c
+++ b/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;
}