hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/sound/isa/gus/gus_timer.c
....@@ -1,24 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Routines for Gravis UltraSound soundcards - Timers
34 * Copyright (c) by Jaroslav Kysela <perex@perex.cz>
45 *
56 * 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
- *
227 */
238
249 #include <linux/time.h>
....@@ -123,7 +108,7 @@
123108
124109 */
125110
126
-static struct snd_timer_hardware snd_gf1_timer1 =
111
+static const struct snd_timer_hardware snd_gf1_timer1 =
127112 {
128113 .flags = SNDRV_TIMER_HW_STOP,
129114 .resolution = 80000,
....@@ -132,7 +117,7 @@
132117 .stop = snd_gf1_timer1_stop,
133118 };
134119
135
-static struct snd_timer_hardware snd_gf1_timer2 =
120
+static const struct snd_timer_hardware snd_gf1_timer2 =
136121 {
137122 .flags = SNDRV_TIMER_HW_STOP,
138123 .resolution = 320000,