| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> |
|---|
| 3 | 4 | * Driver CA0106 chips. e.g. Sound Blaster Audigy LS and Live 24bit |
|---|
| .. | .. |
|---|
| 50 | 51 | * 0.0.22 |
|---|
| 51 | 52 | * Add support for mute control on SB Live 24bit (cards w/ SPI DAC) |
|---|
| 52 | 53 | * |
|---|
| 53 | | - * |
|---|
| 54 | 54 | * This code was initially based on code from ALSA's emu10k1x.c which is: |
|---|
| 55 | 55 | * 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 | | - * |
|---|
| 71 | 56 | */ |
|---|
| 72 | 57 | |
|---|
| 73 | 58 | /************************************************************************************************/ |
|---|
| .. | .. |
|---|
| 678 | 663 | // definition of the chip-specific record |
|---|
| 679 | 664 | struct snd_ca0106 { |
|---|
| 680 | 665 | struct snd_card *card; |
|---|
| 681 | | - struct snd_ca0106_details *details; |
|---|
| 666 | + const struct snd_ca0106_details *details; |
|---|
| 682 | 667 | struct pci_dev *pci; |
|---|
| 683 | 668 | |
|---|
| 684 | 669 | unsigned long port; |
|---|