hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/sound/ac97_codec.h
....@@ -197,7 +197,7 @@
197197
198198 struct snd_ac97_bus {
199199 /* -- lowlevel (hardware) driver specific -- */
200
- struct snd_ac97_bus_ops *ops;
200
+ const struct snd_ac97_bus_ops *ops;
201201 void *private_data;
202202 void (*private_free) (struct snd_ac97_bus *bus);
203203 /* --- */
....@@ -310,7 +310,8 @@
310310
311311 /* functions */
312312 /* 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,
314315 void *private_data, struct snd_ac97_bus **rbus);
315316 /* create mixer controls */
316317 int snd_ac97_mixer(struct snd_ac97_bus *bus, struct snd_ac97_template *template,