diff options
Diffstat (limited to 'include/sound/ad1816a.h')
-rw-r--r-- | include/sound/ad1816a.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/include/sound/ad1816a.h b/include/sound/ad1816a.h index d010858c33c2..abdf609c5918 100644 --- a/include/sound/ad1816a.h +++ b/include/sound/ad1816a.h | |||
@@ -20,9 +20,9 @@ | |||
20 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 20 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 | */ | 21 | */ |
22 | 22 | ||
23 | #include "control.h" | 23 | #include <sound/control.h> |
24 | #include "pcm.h" | 24 | #include <sound/pcm.h> |
25 | #include "timer.h" | 25 | #include <sound/timer.h> |
26 | 26 | ||
27 | #define AD1816A_REG(r) (chip->port + r) | 27 | #define AD1816A_REG(r) (chip->port + r) |
28 | 28 | ||
@@ -147,6 +147,9 @@ struct snd_ad1816a { | |||
147 | unsigned int c_dma_size; | 147 | unsigned int c_dma_size; |
148 | 148 | ||
149 | struct snd_timer *timer; | 149 | struct snd_timer *timer; |
150 | #ifdef CONFIG_PM | ||
151 | unsigned short image[48]; | ||
152 | #endif | ||
150 | }; | 153 | }; |
151 | 154 | ||
152 | 155 | ||
@@ -165,11 +168,15 @@ struct snd_ad1816a { | |||
165 | 168 | ||
166 | extern int snd_ad1816a_create(struct snd_card *card, unsigned long port, | 169 | extern int snd_ad1816a_create(struct snd_card *card, unsigned long port, |
167 | int irq, int dma1, int dma2, | 170 | int irq, int dma1, int dma2, |
168 | struct snd_ad1816a **chip); | 171 | struct snd_ad1816a *chip); |
169 | 172 | ||
170 | extern int snd_ad1816a_pcm(struct snd_ad1816a *chip, int device, struct snd_pcm **rpcm); | 173 | extern int snd_ad1816a_pcm(struct snd_ad1816a *chip, int device, struct snd_pcm **rpcm); |
171 | extern int snd_ad1816a_mixer(struct snd_ad1816a *chip); | 174 | extern int snd_ad1816a_mixer(struct snd_ad1816a *chip); |
172 | extern int snd_ad1816a_timer(struct snd_ad1816a *chip, int device, | 175 | extern int snd_ad1816a_timer(struct snd_ad1816a *chip, int device, |
173 | struct snd_timer **rtimer); | 176 | struct snd_timer **rtimer); |
177 | #ifdef CONFIG_PM | ||
178 | extern void snd_ad1816a_suspend(struct snd_ad1816a *chip); | ||
179 | extern void snd_ad1816a_resume(struct snd_ad1816a *chip); | ||
180 | #endif | ||
174 | 181 | ||
175 | #endif /* __SOUND_AD1816A_H */ | 182 | #endif /* __SOUND_AD1816A_H */ |