- memset(&bus, 0, sizeof(bus));
- bus.write = snd_fm801_codec_write;
- bus.read = snd_fm801_codec_read;
- bus.private_data = chip;
- bus.private_free = snd_fm801_mixer_free_ac97_bus;
- if ((err = snd_ac97_bus(chip->card, &bus, &chip->ac97_bus)) < 0)
+ if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &chip->ac97_bus)) < 0)