summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-08-31 16:40:51 +0100
committerJason Liu <r64343@freescale.com>2013-10-30 09:55:28 +0800
commit77f1195cbd5adf1a223cd5abb73243515282771d (patch)
treec60064f31550d4cca600c7391bf3f14e11de10ef /sound
parentc455cb6a41ea23790dfcbd7c9f8740c13a32ffc3 (diff)
ASoC: fsl_spdif: Staticse non-exported symbols
Signed-off-by: Mark Brown <broonie@linaro.org> Acked-by: Nicolin Chen <B42378@freescale.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/fsl/fsl_spdif.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c
index c46bc3ed42d2..de2275130e78 100644
--- a/sound/soc/fsl/fsl_spdif.c
+++ b/sound/soc/fsl/fsl_spdif.c
@@ -413,8 +413,8 @@ static int spdif_set_sample_rate(struct snd_pcm_substream *substream,
return 0;
}
-int fsl_spdif_startup(struct snd_pcm_substream *substream,
- struct snd_soc_dai *cpu_dai)
+static int fsl_spdif_startup(struct snd_pcm_substream *substream,
+ struct snd_soc_dai *cpu_dai)
{
struct snd_soc_pcm_runtime *rtd = substream->private_data;
struct fsl_spdif_priv *spdif_priv = snd_soc_dai_get_drvdata(rtd->cpu_dai);
@@ -552,7 +552,7 @@ static int fsl_spdif_trigger(struct snd_pcm_substream *substream,
return 0;
}
-struct snd_soc_dai_ops fsl_spdif_dai_ops = {
+static struct snd_soc_dai_ops fsl_spdif_dai_ops = {
.startup = fsl_spdif_startup,
.hw_params = fsl_spdif_hw_params,
.trigger = fsl_spdif_trigger,
@@ -927,7 +927,7 @@ static int fsl_spdif_dai_probe(struct snd_soc_dai *dai)
return 0;
}
-struct snd_soc_dai_driver fsl_spdif_dai = {
+static struct snd_soc_dai_driver fsl_spdif_dai = {
.probe = &fsl_spdif_dai_probe,
.playback = {
.channels_min = 2,