Skip to contentSkip to conversation

ASoC: sn95031: Staticize sn95031_pcm_hw_params

PATCH Applied Axel Lin 4 participants 4 messages Sep 19, 2011

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ASoC: sn95031: Staticize sn95031_pcm_hw_params

---
 sound/soc/codecs/sn95031.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/sn95031.c +1 -1
index b4f1cb4..29945b0 100644
@@ -658,7 +658,7 @@ static int sn95031_pcm_spkr_mute(struct snd_soc_dai *dai, int mute)
 	return 0;
 }
 
-int sn95031_pcm_hw_params(struct snd_pcm_substream *substream,
+static int sn95031_pcm_hw_params(struct snd_pcm_substream *substream,
 		struct snd_pcm_hw_params *params, struct snd_soc_dai *dai)
 {
 	unsigned int format, rate;
Signature · 1 line
1.7.4.1
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Axel Lin
---
 sound/soc/codecs/sn95031.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/sn95031.c +0 -0
index b4f1cb4..29945b0 100644

sound/soc/codecs/sn95031.c static int sn95031_pcm_spkr_mute(struct snd_soc_dai *dai, int mute) · line 664

Quoted 8 lines
sound/soc/codecs/sn95031.c +1 -1
@@ -658,7 +658,7 @@ static int sn95031_pcm_spkr_mute(struct snd_soc_dai *dai, int mute)
 	return 0;
 }
 
-int sn95031_pcm_hw_params(struct snd_pcm_substream *substream,
+static int sn95031_pcm_hw_params(struct snd_pcm_substream *substream,
 		struct snd_pcm_hw_params *params, struct snd_soc_dai *dai)
 {
 	unsigned int format, rate;
Signature · 1 line
~Vinod
#2 lore raw
Quoted 23 lines · Vinod Koul

sound/soc/codecs/sn95031.c static int sn95031_pcm_spkr_mute(struct snd_soc_dai

Quoted 10 lines · Axel Lin
---
 sound/soc/codecs/sn95031.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/sn95031.c +0 -0
index b4f1cb4..29945b0 100644
@@ -658,7 +658,7 @@ static int sn95031_pcm_spkr_mute(struct snd_soc_dai

*dai, int mute)

sound/soc/codecs/sn95031.c static int sn95031_pcm_spkr_mute(struct snd_soc_dai *dai, int mute) · line 664

Quoted 8 lines
sound/soc/codecs/sn95031.c +1 -1
      return 0;
 }
 
-int sn95031_pcm_hw_params(struct snd_pcm_substream *substream,
+static int sn95031_pcm_hw_params(struct snd_pcm_substream *substream,
              struct snd_pcm_hw_params *params, struct snd_soc_dai *dai)
 {
      unsigned int format, rate;
Quoted 4 lines

--
~Vinod