|
|
@@ -138,10 +138,9 @@ static int snd_es1688_probe(struct snd_card *card, unsigned int n)
|
|
|
{
|
|
|
struct snd_es1688 *chip = card->private_data;
|
|
|
struct snd_opl3 *opl3;
|
|
|
- struct snd_pcm *pcm;
|
|
|
int error;
|
|
|
|
|
|
- error = snd_es1688_pcm(card, chip, 0, &pcm);
|
|
|
+ error = snd_es1688_pcm(card, chip, 0);
|
|
|
if (error < 0)
|
|
|
return error;
|
|
|
|
|
|
@@ -150,9 +149,9 @@ static int snd_es1688_probe(struct snd_card *card, unsigned int n)
|
|
|
return error;
|
|
|
|
|
|
strlcpy(card->driver, "ES1688", sizeof(card->driver));
|
|
|
- strlcpy(card->shortname, pcm->name, sizeof(card->shortname));
|
|
|
+ strlcpy(card->shortname, chip->pcm->name, sizeof(card->shortname));
|
|
|
snprintf(card->longname, sizeof(card->longname),
|
|
|
- "%s at 0x%lx, irq %i, dma %i", pcm->name, chip->port,
|
|
|
+ "%s at 0x%lx, irq %i, dma %i", chip->pcm->name, chip->port,
|
|
|
chip->irq, chip->dma8);
|
|
|
|
|
|
if (fm_port[n] == SNDRV_AUTO_PORT)
|