Update of /cvsroot/alsa/alsa-kernel/pci In directory sc8-pr-cvs1:/tmp/cvs-serv13516/pci
Modified Files: es1968.c Log Message: fixed the compilation with the recent ac97 and info changes. Index: es1968.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/es1968.c,v retrieving revision 1.55 retrieving revision 1.56 diff -u -r1.55 -r1.56 --- es1968.c 14 Oct 2003 13:59:20 -0000 1.55 +++ es1968.c 24 Oct 2003 13:44:20 -0000 1.56 @@ -2037,15 +2037,20 @@ static int __devinit snd_es1968_mixer(es1968_t *chip) { + ac97_bus_t bus, *pbus; ac97_t ac97; snd_ctl_elem_id_t id; int err; + memset(&bus, 0, sizeof(bus)); + bus.write = snd_es1968_ac97_write; + bus.read = snd_es1968_ac97_read; + if ((err = snd_ac97_bus(chip->card, &bus, &pbus)) < 0) + return err; + memset(&ac97, 0, sizeof(ac97)); - ac97.write = snd_es1968_ac97_write; - ac97.read = snd_es1968_ac97_read; ac97.private_data = chip; - if ((err = snd_ac97_mixer(chip->card, &ac97, &chip->ac97)) < 0) + if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97)) < 0) return err; /* attach master switch / volumes for h/w volume control */ ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog