aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-11-12 05:38:10 -0500
committerTakashi Iwai <tiwai@suse.de>2012-11-12 05:38:10 -0500
commit063f603c8c1039f576405bb98c1b6c94262e5806 (patch)
treea4e9d2b5406b5ba0f6b5e4c16ae548efeab1b95e
parentef8784453d1cd5beedce9d288d56221a898c7ecb (diff)
ALSA: ice1724: Fix build error without CONFIG_PM_SLEEP
Bah, forgot this again... Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/ice1712/ice1724.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/ice1712/ice1724.c b/sound/pci/ice1712/ice1724.c
index 4c52a310234..ea99e5695f9 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,
2362 } 2362 }
2363 printk(KERN_WARNING "ice1724: No matching model found for ID 0x%x\n", 2363 printk(KERN_WARNING "ice1724: No matching model found for ID 0x%x\n",
2364 ice->eeprom.subvendor); 2364 ice->eeprom.subvendor);
2365#ifdef CONFIG_PM_SLEEP
2365 /* assume AC97-only card which can suspend without additional code */ 2366 /* assume AC97-only card which can suspend without additional code */
2366 ice->pm_suspend_enabled = 1; 2367 ice->pm_suspend_enabled = 1;
2368#endif
2367 2369
2368 found: 2370 found:
2369 ice->eeprom.size = snd_vt1724_read_i2c(ice, dev, 0x04); 2371 ice->eeprom.size = snd_vt1724_read_i2c(ice, dev, 0x04);