hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/sound/pci/emu10k1/timer.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (c) by Lee Revell <rlrevell@joe-job.com>
34 * Clemens Ladisch <clemens@ladisch.de>
....@@ -8,21 +9,6 @@
89 *
910 * TODO:
1011 * --
11
- *
12
- * This program is free software; you can redistribute it and/or modify
13
- * it under the terms of the GNU General Public License as published by
14
- * the Free Software Foundation; either version 2 of the License, or
15
- * (at your option) any later version.
16
- *
17
- * This program is distributed in the hope that it will be useful,
18
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- * GNU General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU General Public License
23
- * along with this program; if not, write to the Free Software
24
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25
- *
2612 */
2713
2814 #include <linux/time.h>
....@@ -66,7 +52,7 @@
6652 return 0;
6753 }
6854
69
-static struct snd_timer_hardware snd_emu10k1_timer_hw = {
55
+static const struct snd_timer_hardware snd_emu10k1_timer_hw = {
7056 .flags = SNDRV_TIMER_HW_AUTO,
7157 .resolution = 20833, /* 1 sample @ 48KHZ = 20.833...us */
7258 .ticks = 1024,