Browse Source

ALSA: hda - Fix build error in hda_tegra.c

The "list" field has been omitted from struct azx, but its
initialization remained mistakenly in hda_tegra.c, which leads to a
compile error:
   sound/pci/hda/hda_tegra.c: In function 'hda_tegra_create':
   sound/pci/hda/hda_tegra.c:481:22: error: 'struct azx' has no member
named 'list'

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: 9a34af4a3327 ('ALSA: hda - Move more PCI-controller-specific stuff from generic code')
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai 11 năm trước cách đây
mục cha
commit
178942b69f
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      sound/pci/hda/hda_tegra.c

+ 0 - 1
sound/pci/hda/hda_tegra.c

@@ -453,7 +453,6 @@ static int hda_tegra_create(struct snd_card *card,
 	chip->driver_type = driver_caps & 0xff;
 	chip->dev_index = 0;
 	INIT_LIST_HEAD(&chip->pcm_list);
-	INIT_LIST_HEAD(&chip->list);
 
 	chip->codec_probe_mask = -1;