LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 3/4] ALSA: cs5535audio: suspend/resume callbacks are only defined with CONFIG_PM
@ 2008-11-05 22:30 Andres Salomon
0 siblings, 0 replies; only message in thread
From: Andres Salomon @ 2008-11-05 22:30 UTC (permalink / raw)
To: jayakumar.alsa; +Cc: linux-kernel, akpm
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>
---
sound/pci/cs5535audio/cs5535audio.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/sound/pci/cs5535audio/cs5535audio.h b/sound/pci/cs5535audio/cs5535audio.h
index 57e9c65..1aa1e2b 100644
--- a/sound/pci/cs5535audio/cs5535audio.h
+++ b/sound/pci/cs5535audio/cs5535audio.h
@@ -94,8 +94,11 @@ struct cs5535audio {
struct cs5535audio_dma dmas[NUM_CS5535AUDIO_DMAS];
};
+#ifdef CONFIG_PM
int snd_cs5535audio_suspend(struct pci_dev *pci, pm_message_t state);
int snd_cs5535audio_resume(struct pci_dev *pci);
+#endif
+
int __devinit snd_cs5535audio_pcm(struct cs5535audio *cs5535audio);
#endif /* __SOUND_CS5535AUDIO_H */
--
1.5.6.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-05 22:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-05 22:30 [PATCH 3/4] ALSA: cs5535audio: suspend/resume callbacks are only defined with CONFIG_PM Andres Salomon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).