File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ struct q6apm_dai_data {
85
85
long long sid ;
86
86
};
87
87
88
- static struct snd_pcm_hardware q6apm_dai_hardware_capture = {
88
+ static const struct snd_pcm_hardware q6apm_dai_hardware_capture = {
89
89
.info = (SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_BLOCK_TRANSFER |
90
90
SNDRV_PCM_INFO_MMAP_VALID | SNDRV_PCM_INFO_INTERLEAVED |
91
91
SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_RESUME |
@@ -104,7 +104,7 @@ static struct snd_pcm_hardware q6apm_dai_hardware_capture = {
104
104
.fifo_size = 0 ,
105
105
};
106
106
107
- static struct snd_pcm_hardware q6apm_dai_hardware_playback = {
107
+ static const struct snd_pcm_hardware q6apm_dai_hardware_playback = {
108
108
.info = (SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_BLOCK_TRANSFER |
109
109
SNDRV_PCM_INFO_MMAP_VALID | SNDRV_PCM_INFO_INTERLEAVED |
110
110
SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_RESUME |
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ static const struct snd_pcm_hardware q6asm_dai_hardware_capture = {
103
103
.fifo_size = 0 ,
104
104
};
105
105
106
- static struct snd_pcm_hardware q6asm_dai_hardware_playback = {
106
+ static const struct snd_pcm_hardware q6asm_dai_hardware_playback = {
107
107
.info = (SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_BATCH |
108
108
SNDRV_PCM_INFO_BLOCK_TRANSFER |
109
109
SNDRV_PCM_INFO_MMAP_VALID |
You can’t perform that action at this time.
0 commit comments