ALSA: hda - Enable loopback accounts for CONFIG_PM=n, too

The loopback list is referred by the VIA codec driver no matter
whether CONFIG_PM is set or not, thus we need to enable it always.
Otherwise it gets compile errors.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Цей коміт міститься в:
Takashi Iwai
2013-02-07 09:58:11 +01:00
джерело b57a895fa2
коміт 46a144818a
2 змінених файлів з 1 додано та 6 видалено

Переглянути файл

@@ -226,11 +226,10 @@ struct hda_gen_spec {
hda_nid_t vmaster_nid;
unsigned int vmaster_tlv[4];
struct hda_vmaster_mute_hook vmaster_mute;
#ifdef CONFIG_PM
struct hda_loopback_check loopback;
int num_loopbacks;
struct hda_amp_list loopback_list[8];
#endif
/* multi-io */
int multi_ios;