aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-05-14 16:19:54 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-15 00:51:58 -0400
commitcdeecac4e610ce1094497740ef84aa837e2e874f (patch)
treec34187885f9bd6d112f2276d69d801e0c5c6bb92 /sound
parentb9600b4b1cf8b8f06b6a5d025eff160f41950485 (diff)
ASoC: mop500_ab8500: Staticize non exported functions
The mop500_ab8500_startup(), the mop500_ab8500_shutdown() and the mop500_ab8500_hw_params() function are not used outside of mop500_ab8500, so make them static. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/ux500/mop500_ab8500.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/ux500/mop500_ab8500.c b/sound/soc/ux500/mop500_ab8500.c
index 44e25a291044..884a36224fb1 100644
--- a/sound/soc/ux500/mop500_ab8500.c
+++ b/sound/soc/ux500/mop500_ab8500.c
@@ -183,7 +183,7 @@ static struct snd_kcontrol_new mop500_ab8500_ctrls[] = {
183 183
184/* ASoC */ 184/* ASoC */
185 185
186int mop500_ab8500_startup(struct snd_pcm_substream *substream) 186static int mop500_ab8500_startup(struct snd_pcm_substream *substream)
187{ 187{
188 struct snd_soc_pcm_runtime *rtd = substream->private_data; 188 struct snd_soc_pcm_runtime *rtd = substream->private_data;
189 189
@@ -192,7 +192,7 @@ int mop500_ab8500_startup(struct snd_pcm_substream *substream)
192 snd_soc_card_get_drvdata(rtd->card)); 192 snd_soc_card_get_drvdata(rtd->card));
193} 193}
194 194
195void mop500_ab8500_shutdown(struct snd_pcm_substream *substream) 195static void mop500_ab8500_shutdown(struct snd_pcm_substream *substream)
196{ 196{
197 struct snd_soc_pcm_runtime *rtd = substream->private_data; 197 struct snd_soc_pcm_runtime *rtd = substream->private_data;
198 struct device *dev = rtd->card->dev; 198 struct device *dev = rtd->card->dev;
@@ -206,7 +206,7 @@ void mop500_ab8500_shutdown(struct snd_pcm_substream *substream)
206 rx_slots = DEF_RX_SLOTS; 206 rx_slots = DEF_RX_SLOTS;
207} 207}
208 208
209int mop500_ab8500_hw_params(struct snd_pcm_substream *substream, 209static int mop500_ab8500_hw_params(struct snd_pcm_substream *substream,
210 struct snd_pcm_hw_params *params) 210 struct snd_pcm_hw_params *params)
211{ 211{
212 struct snd_soc_pcm_runtime *rtd = substream->private_data; 212 struct snd_soc_pcm_runtime *rtd = substream->private_data;