aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pcmcia/pdaudiocf/pdaudiocf_irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pcmcia/pdaudiocf/pdaudiocf_irq.c')
-rw-r--r--sound/pcmcia/pdaudiocf/pdaudiocf_irq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pcmcia/pdaudiocf/pdaudiocf_irq.c b/sound/pcmcia/pdaudiocf/pdaudiocf_irq.c
index 255b63444b5d..7c5f21e45cb4 100644
--- a/sound/pcmcia/pdaudiocf/pdaudiocf_irq.c
+++ b/sound/pcmcia/pdaudiocf/pdaudiocf_irq.c
@@ -28,7 +28,7 @@
28 */ 28 */
29irqreturn_t pdacf_interrupt(int irq, void *dev, struct pt_regs *regs) 29irqreturn_t pdacf_interrupt(int irq, void *dev, struct pt_regs *regs)
30{ 30{
31 pdacf_t *chip = dev; 31 struct snd_pdacf *chip = dev;
32 unsigned short stat; 32 unsigned short stat;
33 33
34 if ((chip->chip_status & (PDAUDIOCF_STAT_IS_STALE| 34 if ((chip->chip_status & (PDAUDIOCF_STAT_IS_STALE|
@@ -204,7 +204,7 @@ static inline void pdacf_transfer_stereo24be(u8 *dst, u32 xor, unsigned int size
204 } 204 }
205} 205}
206 206
207static void pdacf_transfer(pdacf_t *chip, unsigned int size, unsigned int off) 207static void pdacf_transfer(struct snd_pdacf *chip, unsigned int size, unsigned int off)
208{ 208{
209 unsigned long rdp_port = chip->port + PDAUDIOCF_REG_MD; 209 unsigned long rdp_port = chip->port + PDAUDIOCF_REG_MD;
210 unsigned int xor = chip->pcm_xor; 210 unsigned int xor = chip->pcm_xor;
@@ -258,7 +258,7 @@ static void pdacf_transfer(pdacf_t *chip, unsigned int size, unsigned int off)
258 258
259void pdacf_tasklet(unsigned long private_data) 259void pdacf_tasklet(unsigned long private_data)
260{ 260{
261 pdacf_t *chip = (pdacf_t *) private_data; 261 struct snd_pdacf *chip = (struct snd_pdacf *) private_data;
262 int size, off, cont, rdp, wdp; 262 int size, off, cont, rdp, wdp;
263 263
264 if ((chip->chip_status & (PDAUDIOCF_STAT_IS_STALE|PDAUDIOCF_STAT_IS_CONFIGURED)) != PDAUDIOCF_STAT_IS_CONFIGURED) 264 if ((chip->chip_status & (PDAUDIOCF_STAT_IS_STALE|PDAUDIOCF_STAT_IS_CONFIGURED)) != PDAUDIOCF_STAT_IS_CONFIGURED)