forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/sound/pci/ca0106/ca0106.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk>
34 * Driver CA0106 chips. e.g. Sound Blaster Audigy LS and Live 24bit
....@@ -50,24 +51,8 @@
5051 * 0.0.22
5152 * Add support for mute control on SB Live 24bit (cards w/ SPI DAC)
5253 *
53
- *
5454 * This code was initially based on code from ALSA's emu10k1x.c which is:
5555 * Copyright (c) by Francisco Moraes <fmoraes@nc.rr.com>
56
- *
57
- * This program is free software; you can redistribute it and/or modify
58
- * it under the terms of the GNU General Public License as published by
59
- * the Free Software Foundation; either version 2 of the License, or
60
- * (at your option) any later version.
61
- *
62
- * This program is distributed in the hope that it will be useful,
63
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
64
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
65
- * GNU General Public License for more details.
66
- *
67
- * You should have received a copy of the GNU General Public License
68
- * along with this program; if not, write to the Free Software
69
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
70
- *
7156 */
7257
7358 /************************************************************************************************/
....@@ -678,7 +663,7 @@
678663 // definition of the chip-specific record
679664 struct snd_ca0106 {
680665 struct snd_card *card;
681
- struct snd_ca0106_details *details;
666
+ const struct snd_ca0106_details *details;
682667 struct pci_dev *pci;
683668
684669 unsigned long port;