hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/sound/ac97_bus.c
....@@ -1,14 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Linux driver model AC97 bus interface
34 *
45 * Author: Nicolas Pitre
56 * Created: Jan 14, 2005
67 * Copyright: (C) MontaVista Software Inc.
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License as published by
10
- * the Free Software Foundation; either version 2 of the License, or
11
- * (at your option) any later version.
128 */
139
1410 #include <linux/module.h>
....@@ -59,7 +55,7 @@
5955 int snd_ac97_reset(struct snd_ac97 *ac97, bool try_warm, unsigned int id,
6056 unsigned int id_mask)
6157 {
62
- struct snd_ac97_bus_ops *ops = ac97->bus->ops;
58
+ const struct snd_ac97_bus_ops *ops = ac97->bus->ops;
6359
6460 if (try_warm && ops->warm_reset) {
6561 ops->warm_reset(ac97);