diff mbox

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

Message ID 1393821841-4133-1-git-send-email-dgreid@chromium.org (mailing list archive)
State Accepted
Delegated to: Takashi Iwai
Headers show

Commit Message

Dylan Reid March 3, 2014, 4:43 a.m. UTC
It is only used in hda_controller.c now.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
---
 sound/pci/hda/hda_controller.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Takashi Iwai March 3, 2014, 8:56 a.m. UTC | #1
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@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
>
diff mbox

Patch

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;