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 /include/sound | |
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 'include/sound')
-rw-r--r-- | include/sound/emu10k1.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sound/emu10k1.h b/include/sound/emu10k1.h index 4f865df42f0f..1a33f48ebe78 100644 --- a/include/sound/emu10k1.h +++ b/include/sound/emu10k1.h | |||
@@ -1788,7 +1788,7 @@ struct snd_emu10k1 { | |||
1788 | unsigned int efx_voices_mask[2]; | 1788 | unsigned int efx_voices_mask[2]; |
1789 | unsigned int next_free_voice; | 1789 | unsigned int next_free_voice; |
1790 | 1790 | ||
1791 | #ifdef CONFIG_PM | 1791 | #ifdef CONFIG_PM_SLEEP |
1792 | unsigned int *saved_ptr; | 1792 | unsigned int *saved_ptr; |
1793 | unsigned int *saved_gpr; | 1793 | unsigned int *saved_gpr; |
1794 | unsigned int *tram_val_saved; | 1794 | unsigned int *tram_val_saved; |
@@ -1856,7 +1856,7 @@ unsigned short snd_emu10k1_ac97_read(struct snd_ac97 *ac97, unsigned short reg); | |||
1856 | void snd_emu10k1_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short data); | 1856 | void snd_emu10k1_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short data); |
1857 | unsigned int snd_emu10k1_rate_to_pitch(unsigned int rate); | 1857 | unsigned int snd_emu10k1_rate_to_pitch(unsigned int rate); |
1858 | 1858 | ||
1859 | #ifdef CONFIG_PM | 1859 | #ifdef CONFIG_PM_SLEEP |
1860 | void snd_emu10k1_suspend_regs(struct snd_emu10k1 *emu); | 1860 | void snd_emu10k1_suspend_regs(struct snd_emu10k1 *emu); |
1861 | void snd_emu10k1_resume_init(struct snd_emu10k1 *emu); | 1861 | void snd_emu10k1_resume_init(struct snd_emu10k1 *emu); |
1862 | void snd_emu10k1_resume_regs(struct snd_emu10k1 *emu); | 1862 | void snd_emu10k1_resume_regs(struct snd_emu10k1 *emu); |