| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * cs5530.c - Initialisation code for Cyrix/NatSemi VSA1 softaudio |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 20 | 21 | * |
|---|
| 21 | 22 | * Thanks to National Semiconductor for providing the needed information |
|---|
| 22 | 23 | * on the XpressAudio(tm) internals. |
|---|
| 23 | | - * |
|---|
| 24 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 25 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 26 | | - * Free Software Foundation; either version 2, or (at your option) any |
|---|
| 27 | | - * later version. |
|---|
| 28 | | - * |
|---|
| 29 | | - * This program is distributed in the hope that it will be useful, but |
|---|
| 30 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 31 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 32 | | - * General Public License for more details. |
|---|
| 33 | 24 | * |
|---|
| 34 | 25 | * TO DO: |
|---|
| 35 | 26 | * Investigate whether we can portably support Cognac (5520) in the |
|---|
| .. | .. |
|---|
| 113 | 104 | void __iomem *mem; |
|---|
| 114 | 105 | int err; |
|---|
| 115 | 106 | |
|---|
| 116 | | - static struct snd_device_ops ops = { |
|---|
| 107 | + static const struct snd_device_ops ops = { |
|---|
| 117 | 108 | .dev_free = snd_cs5530_dev_free, |
|---|
| 118 | 109 | }; |
|---|
| 119 | 110 | *rchip = NULL; |
|---|