summaryrefslogtreecommitdiff
path: root/sound/usb
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2012-06-16 18:58:04 +0400
committerTakashi Iwai <tiwai@suse.de>2012-06-18 11:32:53 +0400
commitafe25967ecf66b38d94d374f0fcb5f4add458a4c (patch)
treedc55a406e3ba2b4de67a7f501cf69024863998c9 /sound/usb
parent7fb75db139965c1955bf6bbde62a357f9843286d (diff)
downloadlinux-afe25967ecf66b38d94d374f0fcb5f4add458a4c.tar.xz
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>
Diffstat (limited to 'sound/usb')
-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
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;