瀏覽代碼

ALSA: hda - Make azx_attach_pcm_stream static

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>
Dylan Reid 11 年之前
父節點
當前提交
7c3e438add
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      sound/pci/hda/hda_controller.c

+ 2 - 2
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;