diff options
author | Mark Brown <broonie@linaro.org> | 2013-08-31 11:40:51 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-01 07:52:25 -0400 |
commit | 6b4c80f947df9d92b97eb62afc29dda6d7220c7d (patch) | |
tree | 6ef7da1bca1c91c53ec8c4a543c8919d95f390c6 /sound | |
parent | 8626bdf05e93ae9d199cb2ad77b58832b98141f5 (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.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c index 98741e96f77a..3920c3e849ce 100644 --- a/sound/soc/fsl/fsl_spdif.c +++ b/sound/soc/fsl/fsl_spdif.c | |||
@@ -411,8 +411,8 @@ static int spdif_set_sample_rate(struct snd_pcm_substream *substream, | |||
411 | return 0; | 411 | return 0; |
412 | } | 412 | } |
413 | 413 | ||
414 | int fsl_spdif_startup(struct snd_pcm_substream *substream, | 414 | static int fsl_spdif_startup(struct snd_pcm_substream *substream, |
415 | struct snd_soc_dai *cpu_dai) | 415 | struct snd_soc_dai *cpu_dai) |
416 | { | 416 | { |
417 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | 417 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
418 | struct fsl_spdif_priv *spdif_priv = snd_soc_dai_get_drvdata(rtd->cpu_dai); | 418 | 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, | |||
546 | return 0; | 546 | return 0; |
547 | } | 547 | } |
548 | 548 | ||
549 | struct snd_soc_dai_ops fsl_spdif_dai_ops = { | 549 | static struct snd_soc_dai_ops fsl_spdif_dai_ops = { |
550 | .startup = fsl_spdif_startup, | 550 | .startup = fsl_spdif_startup, |
551 | .hw_params = fsl_spdif_hw_params, | 551 | .hw_params = fsl_spdif_hw_params, |
552 | .trigger = fsl_spdif_trigger, | 552 | .trigger = fsl_spdif_trigger, |
@@ -919,7 +919,7 @@ static int fsl_spdif_dai_probe(struct snd_soc_dai *dai) | |||
919 | return 0; | 919 | return 0; |
920 | } | 920 | } |
921 | 921 | ||
922 | struct snd_soc_dai_driver fsl_spdif_dai = { | 922 | static struct snd_soc_dai_driver fsl_spdif_dai = { |
923 | .probe = &fsl_spdif_dai_probe, | 923 | .probe = &fsl_spdif_dai_probe, |
924 | .playback = { | 924 | .playback = { |
925 | .channels_min = 2, | 925 | .channels_min = 2, |