diff options
Diffstat (limited to 'include/sound/ad1816a.h')
-rw-r--r-- | include/sound/ad1816a.h | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/include/sound/ad1816a.h b/include/sound/ad1816a.h index ca2e0e4fa937..b3aa62ee3c8d 100644 --- a/include/sound/ad1816a.h +++ b/include/sound/ad1816a.h | |||
@@ -123,9 +123,7 @@ | |||
123 | #define AD1816A_CAPTURE_NOT_EQUAL 0x1000 | 123 | #define AD1816A_CAPTURE_NOT_EQUAL 0x1000 |
124 | #define AD1816A_WSS_ENABLE 0x8000 | 124 | #define AD1816A_WSS_ENABLE 0x8000 |
125 | 125 | ||
126 | typedef struct _snd_ad1816a ad1816a_t; | 126 | struct snd_ad1816a { |
127 | |||
128 | struct _snd_ad1816a { | ||
129 | unsigned long port; | 127 | unsigned long port; |
130 | struct resource *res_port; | 128 | struct resource *res_port; |
131 | int irq; | 129 | int irq; |
@@ -140,15 +138,15 @@ struct _snd_ad1816a { | |||
140 | unsigned short mode; | 138 | unsigned short mode; |
141 | unsigned int clock_freq; | 139 | unsigned int clock_freq; |
142 | 140 | ||
143 | snd_card_t *card; | 141 | struct snd_card *card; |
144 | snd_pcm_t *pcm; | 142 | struct snd_pcm *pcm; |
145 | 143 | ||
146 | snd_pcm_substream_t *playback_substream; | 144 | struct snd_pcm_substream *playback_substream; |
147 | snd_pcm_substream_t *capture_substream; | 145 | struct snd_pcm_substream *capture_substream; |
148 | unsigned int p_dma_size; | 146 | unsigned int p_dma_size; |
149 | unsigned int c_dma_size; | 147 | unsigned int c_dma_size; |
150 | 148 | ||
151 | snd_timer_t *timer; | 149 | struct snd_timer *timer; |
152 | }; | 150 | }; |
153 | 151 | ||
154 | 152 | ||
@@ -165,11 +163,11 @@ struct _snd_ad1816a { | |||
165 | AD1816A_MODE_TIMER) | 163 | AD1816A_MODE_TIMER) |
166 | 164 | ||
167 | 165 | ||
168 | extern int snd_ad1816a_create(snd_card_t *card, unsigned long port, | 166 | extern int snd_ad1816a_create(struct snd_card *card, unsigned long port, |
169 | int irq, int dma1, int dma2, | 167 | int irq, int dma1, int dma2, |
170 | ad1816a_t **chip); | 168 | struct snd_ad1816a **chip); |
171 | 169 | ||
172 | extern int snd_ad1816a_pcm(ad1816a_t *chip, int device, snd_pcm_t **rpcm); | 170 | extern int snd_ad1816a_pcm(struct snd_ad1816a *chip, int device, struct snd_pcm **rpcm); |
173 | extern int snd_ad1816a_mixer(ad1816a_t *chip); | 171 | extern int snd_ad1816a_mixer(struct snd_ad1816a *chip); |
174 | 172 | ||
175 | #endif /* __SOUND_AD1816A_H */ | 173 | #endif /* __SOUND_AD1816A_H */ |