diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-11-12 11:38:10 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-11-12 11:38:10 +0100 |
commit | 063f603c8c1039f576405bb98c1b6c94262e5806 (patch) | |
tree | a4e9d2b5406b5ba0f6b5e4c16ae548efeab1b95e /sound/pci | |
parent | ALSA: ice1724: enable suspend on unknown ICE1724 cards (diff) | |
download | linux-063f603c8c1039f576405bb98c1b6c94262e5806.tar.xz linux-063f603c8c1039f576405bb98c1b6c94262e5806.zip |
ALSA: ice1724: Fix build error without CONFIG_PM_SLEEP
Bah, forgot this again...
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/ice1712/ice1724.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/ice1712/ice1724.c b/sound/pci/ice1712/ice1724.c index 4c52a310234d..ea99e5695f9f 100644 --- a/sound/pci/ice1712/ice1724.c +++ b/sound/pci/ice1712/ice1724.c @@ -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); |