Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6c52a2c authored by Andres Salomon's avatar Andres Salomon Committed by Takashi Iwai
Browse files

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: default avatarAndres Salomon <dilinger@debian.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent b035ce0f
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -94,8 +94,11 @@ struct cs5535audio {
	struct cs5535audio_dma dmas[NUM_CS5535AUDIO_DMAS];
	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_suspend(struct pci_dev *pci, pm_message_t state);
int snd_cs5535audio_resume(struct pci_dev *pci);
int snd_cs5535audio_resume(struct pci_dev *pci);
#endif

int __devinit snd_cs5535audio_pcm(struct cs5535audio *cs5535audio);
int __devinit snd_cs5535audio_pcm(struct cs5535audio *cs5535audio);


#endif /* __SOUND_CS5535AUDIO_H */
#endif /* __SOUND_CS5535AUDIO_H */