| .. | .. |
|---|
| 197 | 197 | |
|---|
| 198 | 198 | struct snd_ac97_bus { |
|---|
| 199 | 199 | /* -- lowlevel (hardware) driver specific -- */ |
|---|
| 200 | | - struct snd_ac97_bus_ops *ops; |
|---|
| 200 | + const struct snd_ac97_bus_ops *ops; |
|---|
| 201 | 201 | void *private_data; |
|---|
| 202 | 202 | void (*private_free) (struct snd_ac97_bus *bus); |
|---|
| 203 | 203 | /* --- */ |
|---|
| .. | .. |
|---|
| 310 | 310 | |
|---|
| 311 | 311 | /* functions */ |
|---|
| 312 | 312 | /* create new AC97 bus */ |
|---|
| 313 | | -int snd_ac97_bus(struct snd_card *card, int num, struct snd_ac97_bus_ops *ops, |
|---|
| 313 | +int snd_ac97_bus(struct snd_card *card, int num, |
|---|
| 314 | + const struct snd_ac97_bus_ops *ops, |
|---|
| 314 | 315 | void *private_data, struct snd_ac97_bus **rbus); |
|---|
| 315 | 316 | /* create mixer controls */ |
|---|
| 316 | 317 | int snd_ac97_mixer(struct snd_ac97_bus *bus, struct snd_ac97_template *template, |
|---|