aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2012-06-16 10:58:04 -0400
committerTakashi Iwai <tiwai@suse.de>2012-06-18 03:32:53 -0400
commitafe25967ecf66b38d94d374f0fcb5f4add458a4c (patch)
treedc55a406e3ba2b4de67a7f501cf69024863998c9
parent7fb75db139965c1955bf6bbde62a357f9843286d (diff)
ALSA: snd-usb: make snd_usb_substream_capture_trigger static
Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/usb/pcm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c
index fc7ce7c1b4fa..54607f8c4f66 100644
--- a/sound/usb/pcm.c
+++ b/sound/usb/pcm.c
@@ -1151,7 +1151,8 @@ static int snd_usb_substream_playback_trigger(struct snd_pcm_substream *substrea
1151 return -EINVAL; 1151 return -EINVAL;
1152} 1152}
1153 1153
1154int snd_usb_substream_capture_trigger(struct snd_pcm_substream *substream, int cmd) 1154static int snd_usb_substream_capture_trigger(struct snd_pcm_substream *substream,
1155 int cmd)
1155{ 1156{
1156 int err; 1157 int err;
1157 struct snd_usb_substream *subs = substream->runtime->private_data; 1158 struct snd_usb_substream *subs = substream->runtime->private_data;