]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ALSA: hda - Make azx_attach_pcm_stream static
authorDylan Reid <dgreid@chromium.org>
Mon, 3 Mar 2014 04:43:59 +0000 (20:43 -0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 3 Mar 2014 08:53:14 +0000 (09:53 +0100)
It is only used in hda_controller.c now.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_controller.c

index 6156d0a2c0f922be8f2c1fd454ff626321dd27a2..97993e17f46a76d5470269795c5b34998c563246 100644 (file)
@@ -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;