.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Linux driver model AC97 bus interface |
---|
3 | 4 | * |
---|
4 | 5 | * Author: Nicolas Pitre |
---|
5 | 6 | * Created: Jan 14, 2005 |
---|
6 | 7 | * 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. |
---|
12 | 8 | */ |
---|
13 | 9 | |
---|
14 | 10 | #include <linux/module.h> |
---|
.. | .. |
---|
59 | 55 | int snd_ac97_reset(struct snd_ac97 *ac97, bool try_warm, unsigned int id, |
---|
60 | 56 | unsigned int id_mask) |
---|
61 | 57 | { |
---|
62 | | - struct snd_ac97_bus_ops *ops = ac97->bus->ops; |
---|
| 58 | + const struct snd_ac97_bus_ops *ops = ac97->bus->ops; |
---|
63 | 59 | |
---|
64 | 60 | if (try_warm && ops->warm_reset) { |
---|
65 | 61 | ops->warm_reset(ac97); |
---|