Commit fcdd368f authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update - Takashi Iwai <tiwai@suse.de>

Sound Core PDAudioCF driver
- fixed the changed function decleration.
- fixed the return value from cast check.
parent 76910950
......@@ -140,7 +140,7 @@ int snd_pdacf_suspend(snd_card_t *card, unsigned int state);
int snd_pdacf_resume(snd_card_t *card, unsigned int state);
#endif
int snd_pdacf_pcm_new(pdacf_t *chip);
void pdacf_interrupt(int irq, void *dev, struct pt_regs *regs);
irqreturn_t pdacf_interrupt(int irq, void *dev, struct pt_regs *regs);
void pdacf_tasklet(unsigned long private_data);
void pdacf_reinit(pdacf_t *chip, int resume);
......
......@@ -28,7 +28,7 @@
*/
irqreturn_t pdacf_interrupt(int irq, void *dev, struct pt_regs *regs)
{
pdacf_t *chip = snd_magic_cast(pdacf_t, dev, return);
pdacf_t *chip = snd_magic_cast(pdacf_t, dev, return IRQ_NONE);
unsigned short stat;
if ((chip->chip_status & (PDAUDIOCF_STAT_IS_STALE|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment