diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-17 11:17:08 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:28:44 -0500 |
commit | 5e12bea0833e47117c31f13b528e31dc8112de57 (patch) | |
tree | d0e35b6a75cf3605d4e4a64f380d5b46a7eff393 /sound/ppc/pmac.h | |
parent | e4f163d96080dda40fd02df725f3672d035e4c5a (diff) |
[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>
Diffstat (limited to 'sound/ppc/pmac.h')
-rw-r--r-- | sound/ppc/pmac.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/ppc/pmac.h b/sound/ppc/pmac.h index e223884ccb20..086da7a18909 100644 --- a/sound/ppc/pmac.h +++ b/sound/ppc/pmac.h | |||
@@ -176,6 +176,11 @@ unsigned int snd_pmac_rate_index(struct snd_pmac *chip, struct pmac_stream *rec, | |||
176 | void snd_pmac_beep_dma_start(struct snd_pmac *chip, int bytes, unsigned long addr, int speed); | 176 | void snd_pmac_beep_dma_start(struct snd_pmac *chip, int bytes, unsigned long addr, int speed); |
177 | void snd_pmac_beep_dma_stop(struct snd_pmac *chip); | 177 | void snd_pmac_beep_dma_stop(struct snd_pmac *chip); |
178 | 178 | ||
179 | #ifdef CONFIG_PM | ||
180 | void snd_pmac_suspend(struct snd_pmac *chip); | ||
181 | void snd_pmac_resume(struct snd_pmac *chip); | ||
182 | #endif | ||
183 | |||
179 | /* initialize mixer */ | 184 | /* initialize mixer */ |
180 | int snd_pmac_awacs_init(struct snd_pmac *chip); | 185 | int snd_pmac_awacs_init(struct snd_pmac *chip); |
181 | int snd_pmac_burgundy_init(struct snd_pmac *chip); | 186 | int snd_pmac_burgundy_init(struct snd_pmac *chip); |