diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2012-10-23 13:34:16 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-10-23 14:32:41 -0400 |
commit | 9e13db806e07ae9fdb1c2135fc60ea09fcbf3f3c (patch) | |
tree | 297751010f36d4c807cc59d8dc28697848fad05d /sound | |
parent | c902466800d777de55faab34214ec01987fca05e (diff) |
ALSA: ice1712: Fix build errors
Fix build errors by using correct kconfig symbol name:
sound/pci/ice1712/psc724.c:417:5: error: 'struct snd_ice1712' has no member named 'pm_resume'
sound/pci/ice1712/psc724.c:418:5: error: 'struct snd_ice1712' has no member named 'pm_suspend_enabled'
[Fixed another #ifdef CONFIG_PM in the same file, too, by tiwai]
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/ice1712/psc724.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ice1712/psc724.c b/sound/pci/ice1712/psc724.c index 457cbaab0c6e..0b6c4e69b8d0 100644 --- a/sound/pci/ice1712/psc724.c +++ b/sound/pci/ice1712/psc724.c | |||
@@ -382,7 +382,7 @@ static void psc724_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate) | |||
382 | 382 | ||
383 | /* power management */ | 383 | /* power management */ |
384 | 384 | ||
385 | #ifdef CONFIG_PM | 385 | #ifdef CONFIG_PM_SLEEP |
386 | static int psc724_resume(struct snd_ice1712 *ice) | 386 | static int psc724_resume(struct snd_ice1712 *ice) |
387 | { | 387 | { |
388 | struct psc724_spec *spec = ice->spec; | 388 | struct psc724_spec *spec = ice->spec; |
@@ -413,7 +413,7 @@ static int __devinit psc724_init(struct snd_ice1712 *ice) | |||
413 | snd_wm8776_init(&spec->wm8776); | 413 | snd_wm8776_init(&spec->wm8776); |
414 | spec->wm8766.ops.write = psc724_wm8766_write; | 414 | spec->wm8766.ops.write = psc724_wm8766_write; |
415 | spec->wm8766.card = ice->card; | 415 | spec->wm8766.card = ice->card; |
416 | #ifdef CONFIG_PM | 416 | #ifdef CONFIG_PM_SLEEP |
417 | ice->pm_resume = psc724_resume; | 417 | ice->pm_resume = psc724_resume; |
418 | ice->pm_suspend_enabled = 1; | 418 | ice->pm_suspend_enabled = 1; |
419 | #endif | 419 | #endif |