[alsa-devel] [PATCH 1/3] ALSA: hda - Make azx_attach_pcm_stream static

Takashi Iwai tiwai at suse.de
Mon Mar 3 09:56:50 CET 2014


At Sun,  2 Mar 2014 20:43:59 -0800,
Dylan Reid wrote:
> 
> It is only used in hda_controller.c now.
> 
> Signed-off-by: Dylan Reid <dgreid at chromium.org>

Thanks, applied all three patches.


Takashi

> ---
>  sound/pci/hda/hda_controller.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/pci/hda/hda_controller.c b/sound/pci/hda/hda_controller.c
> index 6156d0a..97993e1 100644
> --- a/sound/pci/hda/hda_controller.c
> +++ b/sound/pci/hda/hda_controller.c
> @@ -971,8 +971,8 @@ static void azx_pcm_free(struct snd_pcm *pcm)
>  
>  #define MAX_PREALLOC_SIZE	(32 * 1024 * 1024)
>  
> -int azx_attach_pcm_stream(struct hda_bus *bus, struct hda_codec *codec,
> -			  struct hda_pcm *cpcm)
> +static int azx_attach_pcm_stream(struct hda_bus *bus, struct hda_codec *codec,
> +				 struct hda_pcm *cpcm)
>  {
>  	struct azx *chip = bus->private_data;
>  	struct snd_pcm *pcm;
> -- 
> 1.8.1.3.605.g02339dd
> 


More information about the Alsa-devel mailing list