ALSA: hda - Fix build error in hda_tegra.c
authorTakashi Iwai <tiwai@suse.de>
Tue, 1 Jul 2014 11:59:40 +0000 (13:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 1 Jul 2014 12:02:02 +0000 (14:02 +0200)
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>
sound/pci/hda/hda_tegra.c

index cf69dafa91c0c9d1658f3d0be9a890bd8f1d9081..cc4a923f68e3700f6e20df70c3bc5a166f183ecb 100644 (file)
@@ -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;