diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-08-14 12:12:04 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-08-14 12:12:04 -0400 |
commit | c7561cd80469f2fe4a6be0984db57832ee7f2a3b (patch) | |
tree | 02ce843b7caed4d41ef6d17450e6b05b96c94952 /sound/pci/ice1712/juli.c | |
parent | 7ccbde57ce312ff1388c2990699f8863280808ac (diff) |
ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP
Otherwise we may get compile warnings due to unused functions.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ice1712/juli.c')
-rw-r--r-- | sound/pci/ice1712/juli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ice1712/juli.c b/sound/pci/ice1712/juli.c index 98bc3b7681b5..14fd536b6452 100644 --- a/sound/pci/ice1712/juli.c +++ b/sound/pci/ice1712/juli.c | |||
@@ -486,7 +486,7 @@ static int __devinit juli_add_controls(struct snd_ice1712 *ice) | |||
486 | * suspend/resume | 486 | * suspend/resume |
487 | * */ | 487 | * */ |
488 | 488 | ||
489 | #ifdef CONFIG_PM | 489 | #ifdef CONFIG_PM_SLEEP |
490 | static int juli_resume(struct snd_ice1712 *ice) | 490 | static int juli_resume(struct snd_ice1712 *ice) |
491 | { | 491 | { |
492 | struct snd_akm4xxx *ak = ice->akm; | 492 | struct snd_akm4xxx *ak = ice->akm; |
@@ -652,7 +652,7 @@ static int __devinit juli_init(struct snd_ice1712 *ice) | |||
652 | 652 | ||
653 | ice->spdif.ops.open = juli_spdif_in_open; | 653 | ice->spdif.ops.open = juli_spdif_in_open; |
654 | 654 | ||
655 | #ifdef CONFIG_PM | 655 | #ifdef CONFIG_PM_SLEEP |
656 | ice->pm_resume = juli_resume; | 656 | ice->pm_resume = juli_resume; |
657 | ice->pm_suspend = juli_suspend; | 657 | ice->pm_suspend = juli_suspend; |
658 | ice->pm_suspend_enabled = 1; | 658 | ice->pm_suspend_enabled = 1; |