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

Takashi Iwai tiwai at suse.de
Mon Jun 18 09:43:03 CEST 2012


At Sat, 16 Jun 2012 16:58:04 +0200,
Daniel Mack wrote:
> 
> Signed-off-by: Daniel Mack <zonque at gmail.com>

Applied now.  Thanks.


Takashi

> ---
>  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
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 


More information about the Alsa-devel mailing list