ALSA: ice1724: Fix build error without CONFIG_PM_SLEEP
Bah, forgot this again... Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
ef8784453d
commit
063f603c8c
|
@ -2362,8 +2362,10 @@ static int __devinit snd_vt1724_read_eeprom(struct snd_ice1712 *ice,
|
||||||
}
|
}
|
||||||
printk(KERN_WARNING "ice1724: No matching model found for ID 0x%x\n",
|
printk(KERN_WARNING "ice1724: No matching model found for ID 0x%x\n",
|
||||||
ice->eeprom.subvendor);
|
ice->eeprom.subvendor);
|
||||||
|
#ifdef CONFIG_PM_SLEEP
|
||||||
/* assume AC97-only card which can suspend without additional code */
|
/* assume AC97-only card which can suspend without additional code */
|
||||||
ice->pm_suspend_enabled = 1;
|
ice->pm_suspend_enabled = 1;
|
||||||
|
#endif
|
||||||
|
|
||||||
found:
|
found:
|
||||||
ice->eeprom.size = snd_vt1724_read_i2c(ice, dev, 0x04);
|
ice->eeprom.size = snd_vt1724_read_i2c(ice, dev, 0x04);
|
||||||
|
|
Loading…
Reference in New Issue