summaryrefslogtreecommitdiffstats
path: root/sound/pci/sis7019.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/sis7019.c')
-rw-r--r--sound/pci/sis7019.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/sis7019.c b/sound/pci/sis7019.c
index 35188872d313..964acf302479 100644
--- a/sound/pci/sis7019.c
+++ b/sound/pci/sis7019.c
@@ -159,7 +159,7 @@ struct sis7019 {
159 * We'll add a constraint upon open that limits the period and buffer sample 159 * We'll add a constraint upon open that limits the period and buffer sample
160 * size to values that are legal for the hardware. 160 * size to values that are legal for the hardware.
161 */ 161 */
162static struct snd_pcm_hardware sis_playback_hw_info = { 162static const struct snd_pcm_hardware sis_playback_hw_info = {
163 .info = (SNDRV_PCM_INFO_MMAP | 163 .info = (SNDRV_PCM_INFO_MMAP |
164 SNDRV_PCM_INFO_MMAP_VALID | 164 SNDRV_PCM_INFO_MMAP_VALID |
165 SNDRV_PCM_INFO_INTERLEAVED | 165 SNDRV_PCM_INFO_INTERLEAVED |
@@ -180,7 +180,7 @@ static struct snd_pcm_hardware sis_playback_hw_info = {
180 .periods_max = (0xfff9 / 9), 180 .periods_max = (0xfff9 / 9),
181}; 181};
182 182
183static struct snd_pcm_hardware sis_capture_hw_info = { 183static const struct snd_pcm_hardware sis_capture_hw_info = {
184 .info = (SNDRV_PCM_INFO_MMAP | 184 .info = (SNDRV_PCM_INFO_MMAP |
185 SNDRV_PCM_INFO_MMAP_VALID | 185 SNDRV_PCM_INFO_MMAP_VALID |
186 SNDRV_PCM_INFO_INTERLEAVED | 186 SNDRV_PCM_INFO_INTERLEAVED |