[alsa-devel] [PATCH] ALSA: snd-usb: make snd_usb_substream_capture_trigger static

Daniel Mack zonque at gmail.com
Sat Jun 16 16:58:04 CEST 2012


Signed-off-by: Daniel Mack <zonque at gmail.com>
---
 sound/usb/pcm.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c
index cdf8b76..ce22f5f 100644
--- a/sound/usb/pcm.c
+++ b/sound/usb/pcm.c
@@ -1147,7 +1147,8 @@ static int snd_usb_substream_playback_trigger(struct snd_pcm_substream *substrea
 	return -EINVAL;
 }
 
-int snd_usb_substream_capture_trigger(struct snd_pcm_substream *substream, int cmd)
+static int snd_usb_substream_capture_trigger(struct snd_pcm_substream *substream,
+					     int cmd)
 {
 	int err;
 	struct snd_usb_substream *subs = substream->runtime->private_data;
-- 
1.7.10.2



More information about the Alsa-devel mailing list