.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Routines for Gravis UltraSound soundcards - Timers |
---|
3 | 4 | * Copyright (c) by Jaroslav Kysela <perex@perex.cz> |
---|
4 | 5 | * |
---|
5 | 6 | * GUS have similar timers as AdLib (OPL2/OPL3 chips). |
---|
6 | | - * |
---|
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 | | - * |
---|
13 | | - * This program is distributed in the hope that it will be useful, |
---|
14 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | | - * GNU General Public License for more details. |
---|
17 | | - * |
---|
18 | | - * You should have received a copy of the GNU General Public License |
---|
19 | | - * along with this program; if not, write to the Free Software |
---|
20 | | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
21 | | - * |
---|
22 | 7 | */ |
---|
23 | 8 | |
---|
24 | 9 | #include <linux/time.h> |
---|
.. | .. |
---|
123 | 108 | |
---|
124 | 109 | */ |
---|
125 | 110 | |
---|
126 | | -static struct snd_timer_hardware snd_gf1_timer1 = |
---|
| 111 | +static const struct snd_timer_hardware snd_gf1_timer1 = |
---|
127 | 112 | { |
---|
128 | 113 | .flags = SNDRV_TIMER_HW_STOP, |
---|
129 | 114 | .resolution = 80000, |
---|
.. | .. |
---|
132 | 117 | .stop = snd_gf1_timer1_stop, |
---|
133 | 118 | }; |
---|
134 | 119 | |
---|
135 | | -static struct snd_timer_hardware snd_gf1_timer2 = |
---|
| 120 | +static const struct snd_timer_hardware snd_gf1_timer2 = |
---|
136 | 121 | { |
---|
137 | 122 | .flags = SNDRV_TIMER_HW_STOP, |
---|
138 | 123 | .resolution = 320000, |
---|