]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - sound/ac97_bus.c
ALSA: opl4: More constification
[linux.git] / sound / ac97_bus.c
index 3732a63a2a81f58bbf808cf91008cb158afb8e97..b4685c53ff114acbb79baf8fc23d825875bfb56d 100644 (file)
@@ -55,7 +55,7 @@ static bool snd_ac97_check_id(struct snd_ac97 *ac97, unsigned int id,
 int snd_ac97_reset(struct snd_ac97 *ac97, bool try_warm, unsigned int id,
        unsigned int id_mask)
 {
-       struct snd_ac97_bus_ops *ops = ac97->bus->ops;
+       const struct snd_ac97_bus_ops *ops = ac97->bus->ops;
 
        if (try_warm && ops->warm_reset) {
                ops->warm_reset(ac97);