[ALSA] powermac - Use platform_device
Modules: PPC,PPC PMAC driver,PPC PowerMac driver Rewrite the probe/remove with platform_device. Move the PM support to platform_device's callbacks. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:

committed by
Jaroslav Kysela

vanhempi
e4f163d960
commit
5e12bea083
@@ -176,6 +176,11 @@ unsigned int snd_pmac_rate_index(struct snd_pmac *chip, struct pmac_stream *rec,
|
||||
void snd_pmac_beep_dma_start(struct snd_pmac *chip, int bytes, unsigned long addr, int speed);
|
||||
void snd_pmac_beep_dma_stop(struct snd_pmac *chip);
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
void snd_pmac_suspend(struct snd_pmac *chip);
|
||||
void snd_pmac_resume(struct snd_pmac *chip);
|
||||
#endif
|
||||
|
||||
/* initialize mixer */
|
||||
int snd_pmac_awacs_init(struct snd_pmac *chip);
|
||||
int snd_pmac_burgundy_init(struct snd_pmac *chip);
|
||||
|
Viittaa uudesa ongelmassa
Block a user