aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/ad1816a.h
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
commit8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch)
treea8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /include/sound/ad1816a.h
parent406089d01562f1e2bf9f089fd7637009ebaad589 (diff)
Patched in Tegra support.
Diffstat (limited to 'include/sound/ad1816a.h')
-rw-r--r--include/sound/ad1816a.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/include/sound/ad1816a.h b/include/sound/ad1816a.h
index abdf609c591..d010858c33c 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 <sound/control.h> 23#include "control.h"
24#include <sound/pcm.h> 24#include "pcm.h"
25#include <sound/timer.h> 25#include "timer.h"
26 26
27#define AD1816A_REG(r) (chip->port + r) 27#define AD1816A_REG(r) (chip->port + r)
28 28
@@ -147,9 +147,6 @@ 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
153}; 150};
154 151
155 152
@@ -168,15 +165,11 @@ struct snd_ad1816a {
168 165
169extern int snd_ad1816a_create(struct snd_card *card, unsigned long port, 166extern int snd_ad1816a_create(struct snd_card *card, unsigned long port,
170 int irq, int dma1, int dma2, 167 int irq, int dma1, int dma2,
171 struct snd_ad1816a *chip); 168 struct snd_ad1816a **chip);
172 169
173extern int snd_ad1816a_pcm(struct snd_ad1816a *chip, int device, struct snd_pcm **rpcm); 170extern int snd_ad1816a_pcm(struct snd_ad1816a *chip, int device, struct snd_pcm **rpcm);
174extern int snd_ad1816a_mixer(struct snd_ad1816a *chip); 171extern int snd_ad1816a_mixer(struct snd_ad1816a *chip);
175extern int snd_ad1816a_timer(struct snd_ad1816a *chip, int device, 172extern int snd_ad1816a_timer(struct snd_ad1816a *chip, int device,
176 struct snd_timer **rtimer); 173 struct snd_timer **rtimer);
177#ifdef CONFIG_PM
178extern void snd_ad1816a_suspend(struct snd_ad1816a *chip);
179extern void snd_ad1816a_resume(struct snd_ad1816a *chip);
180#endif
181 174
182#endif /* __SOUND_AD1816A_H */ 175#endif /* __SOUND_AD1816A_H */