hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/sound/pci/vx222/vx222.h
....@@ -1,21 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Driver for Digigram VX222 PCI soundcards
34 *
45 * Copyright (c) 2002 by Takashi Iwai <tiwai@suse.de>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program; if not, write to the Free Software
18
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
196 */
207
218 #ifndef __VX222_H
....@@ -44,8 +31,8 @@
4431 /* we use a lookup table with 148 values, see vx_mixer.c */
4532 #define VX2_AKM_LEVEL_MAX 0x93
4633
47
-extern struct snd_vx_ops vx222_ops;
48
-extern struct snd_vx_ops vx222_old_ops;
34
+extern const struct snd_vx_ops vx222_ops;
35
+extern const struct snd_vx_ops vx222_old_ops;
4936
5037 /* Offset of registers with base equal to portDSP. */
5138 #define VX_RESET_DMA_REGISTER_OFFSET 0x00000008