|
@@ -142,7 +142,6 @@ static int snd_card_ad1816a_probe(int dev, struct pnp_card_link *pcard,
|
|
|
struct snd_card *card;
|
|
|
struct snd_ad1816a *chip;
|
|
|
struct snd_opl3 *opl3;
|
|
|
- struct snd_timer *timer;
|
|
|
|
|
|
error = snd_card_new(&pcard->card->dev,
|
|
|
index[dev], id[dev], THIS_MODULE,
|
|
@@ -172,7 +171,7 @@ static int snd_card_ad1816a_probe(int dev, struct pnp_card_link *pcard,
|
|
|
sprintf(card->longname, "%s, SS at 0x%lx, irq %d, dma %d&%d",
|
|
|
card->shortname, chip->port, irq[dev], dma1[dev], dma2[dev]);
|
|
|
|
|
|
- if ((error = snd_ad1816a_pcm(chip, 0, NULL)) < 0) {
|
|
|
+ if ((error = snd_ad1816a_pcm(chip, 0)) < 0) {
|
|
|
snd_card_free(card);
|
|
|
return error;
|
|
|
}
|
|
@@ -182,7 +181,7 @@ static int snd_card_ad1816a_probe(int dev, struct pnp_card_link *pcard,
|
|
|
return error;
|
|
|
}
|
|
|
|
|
|
- error = snd_ad1816a_timer(chip, 0, &timer);
|
|
|
+ error = snd_ad1816a_timer(chip, 0);
|
|
|
if (error < 0) {
|
|
|
snd_card_free(card);
|
|
|
return error;
|