aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/pci/hda/hda_tegra.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-07-01 13:59:40 +0200
committerTakashi Iwai <tiwai@suse.de>2014-07-01 14:02:02 +0200
commit178942b69f4eb695bfb92742b6082052d6730ca0 (patch)
treee7bcc8f7889d16339be1da67dac24aaa162c4c88 /sound/pci/hda/hda_tegra.c
parentALSA: trident: Remove unused variable in trident_memory.c (diff)
downloadwireguard-linux-178942b69f4eb695bfb92742b6082052d6730ca0.tar.xz
wireguard-linux-178942b69f4eb695bfb92742b6082052d6730ca0.zip
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>
Diffstat (limited to 'sound/pci/hda/hda_tegra.c')
-rw-r--r--sound/pci/hda/hda_tegra.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_tegra.c b/sound/pci/hda/hda_tegra.c
index cf69dafa91c0..cc4a923f68e3 100644
--- a/sound/pci/hda/hda_tegra.c
+++ b/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;