aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/cs5535audio/cs5535audio.h
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2008-11-05 17:30:30 -0500
committerTakashi Iwai <tiwai@suse.de>2008-12-10 11:14:38 -0500
commitb6c52a2cdb58fca918eef9ada5ef3a6cd17a9240 (patch)
treed53e96bdf9bb1734f5f94b56fad90ff73519b865 /sound/pci/cs5535audio/cs5535audio.h
parentb035ce0f26812292d067fbe2fc9e9d88d5dfcdb4 (diff)
ALSA: cs5535audio: suspend/resume callbacks are only defined with CONFIG_PM
snd_cs5535audio_suspend and snd_cs5535audio_resume are only defined when CONFIG_PM is set; make that clear in the header file. Signed-off-by: Andres Salomon <dilinger@debian.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cs5535audio/cs5535audio.h')
-rw-r--r--sound/pci/cs5535audio/cs5535audio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/cs5535audio/cs5535audio.h b/sound/pci/cs5535audio/cs5535audio.h
index 57e9c65e6854..1aa1e2bbdf74 100644
--- a/sound/pci/cs5535audio/cs5535audio.h
+++ b/sound/pci/cs5535audio/cs5535audio.h
@@ -94,8 +94,11 @@ struct cs5535audio {
94 struct cs5535audio_dma dmas[NUM_CS5535AUDIO_DMAS]; 94 struct cs5535audio_dma dmas[NUM_CS5535AUDIO_DMAS];
95}; 95};
96 96
97#ifdef CONFIG_PM
97int snd_cs5535audio_suspend(struct pci_dev *pci, pm_message_t state); 98int snd_cs5535audio_suspend(struct pci_dev *pci, pm_message_t state);
98int snd_cs5535audio_resume(struct pci_dev *pci); 99int snd_cs5535audio_resume(struct pci_dev *pci);
100#endif
101
99int __devinit snd_cs5535audio_pcm(struct cs5535audio *cs5535audio); 102int __devinit snd_cs5535audio_pcm(struct cs5535audio *cs5535audio);
100 103
101#endif /* __SOUND_CS5535AUDIO_H */ 104#endif /* __SOUND_CS5535AUDIO_H */