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/aureon.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/aureon.c')
-rw-r--r-- | sound/pci/ice1712/aureon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ice1712/aureon.c b/sound/pci/ice1712/aureon.c index 3e4f8c12ffce..20bcddea2eab 100644 --- a/sound/pci/ice1712/aureon.c +++ b/sound/pci/ice1712/aureon.c | |||
@@ -2103,7 +2103,7 @@ static int aureon_reset(struct snd_ice1712 *ice) | |||
2103 | /* | 2103 | /* |
2104 | * suspend/resume | 2104 | * suspend/resume |
2105 | */ | 2105 | */ |
2106 | #ifdef CONFIG_PM | 2106 | #ifdef CONFIG_PM_SLEEP |
2107 | static int aureon_resume(struct snd_ice1712 *ice) | 2107 | static int aureon_resume(struct snd_ice1712 *ice) |
2108 | { | 2108 | { |
2109 | struct aureon_spec *spec = ice->spec; | 2109 | struct aureon_spec *spec = ice->spec; |
@@ -2160,7 +2160,7 @@ static int __devinit aureon_init(struct snd_ice1712 *ice) | |||
2160 | wm_set_vol(ice, i, spec->vol[i], spec->master[i % 2]); | 2160 | wm_set_vol(ice, i, spec->vol[i], spec->master[i % 2]); |
2161 | } | 2161 | } |
2162 | 2162 | ||
2163 | #ifdef CONFIG_PM | 2163 | #ifdef CONFIG_PM_SLEEP |
2164 | ice->pm_resume = aureon_resume; | 2164 | ice->pm_resume = aureon_resume; |
2165 | ice->pm_suspend_enabled = 1; | 2165 | ice->pm_suspend_enabled = 1; |
2166 | #endif | 2166 | #endif |