Skip to content

Commit

Permalink
ALSA: ice1724: Fix build error without CONFIG_PM_SLEEP
Browse files Browse the repository at this point in the history
Bah, forgot this again...

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Nov 12, 2012
1 parent ef87844 commit 063f603
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/pci/ice1712/ice1724.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
ice->eeprom.subvendor);
#ifdef CONFIG_PM_SLEEP
/* assume AC97-only card which can suspend without additional code */
ice->pm_suspend_enabled = 1;
#endif

found:
ice->eeprom.size = snd_vt1724_read_i2c(ice, dev, 0x04);
Expand Down

0 comments on commit 063f603

Please sign in to comment.