提交 178942b6 编写于 作者: T Takashi Iwai

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: Nkbuild test robot <fengguang.wu@intel.com>
Fixes: 9a34af4a ('ALSA: hda - Move more PCI-controller-specific stuff from generic code')
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 e2ff8406
...@@ -453,7 +453,6 @@ static int hda_tegra_create(struct snd_card *card, ...@@ -453,7 +453,6 @@ static int hda_tegra_create(struct snd_card *card,
chip->driver_type = driver_caps & 0xff; chip->driver_type = driver_caps & 0xff;
chip->dev_index = 0; chip->dev_index = 0;
INIT_LIST_HEAD(&chip->pcm_list); INIT_LIST_HEAD(&chip->pcm_list);
INIT_LIST_HEAD(&chip->list);
chip->codec_probe_mask = -1; chip->codec_probe_mask = -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册