]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ASoC: fsl_spdif: Staticse non-exported symbols
authorMark Brown <broonie@linaro.org>
Sat, 31 Aug 2013 15:40:51 +0000 (16:40 +0100)
committerMark Brown <broonie@linaro.org>
Sun, 1 Sep 2013 11:52:25 +0000 (12:52 +0100)
Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Nicolin Chen <B42378@freescale.com>
sound/soc/fsl/fsl_spdif.c

index 98741e96f77a8b55578118a716bde786a0f7a35b..3920c3e849ce4dfd6b76f77d877363243d8234d5 100644 (file)
@@ -411,8 +411,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);
@@ -546,7 +546,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,
@@ -919,7 +919,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,