File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 25
25
26
26
#define AIU_FIFO_I2S_BLOCK 256
27
27
28
- static struct snd_pcm_hardware fifo_i2s_pcm = {
28
+ static const struct snd_pcm_hardware fifo_i2s_pcm = {
29
29
.info = (SNDRV_PCM_INFO_INTERLEAVED |
30
30
SNDRV_PCM_INFO_MMAP |
31
31
SNDRV_PCM_INFO_MMAP_VALID |
Original file line number Diff line number Diff line change 27
27
28
28
#define AIU_FIFO_SPDIF_BLOCK 8
29
29
30
- static struct snd_pcm_hardware fifo_spdif_pcm = {
30
+ static const struct snd_pcm_hardware fifo_spdif_pcm = {
31
31
.info = (SNDRV_PCM_INFO_INTERLEAVED |
32
32
SNDRV_PCM_INFO_MMAP |
33
33
SNDRV_PCM_INFO_MMAP_VALID |
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ struct snd_pcm_hw_params;
18
18
struct platform_device ;
19
19
20
20
struct aiu_fifo {
21
- struct snd_pcm_hardware * pcm ;
21
+ const struct snd_pcm_hardware * pcm ;
22
22
unsigned int mem_offset ;
23
23
unsigned int fifo_block ;
24
24
struct clk * pclk ;
Original file line number Diff line number Diff line change 23
23
* These differences are handled in the respective DAI drivers
24
24
*/
25
25
26
- static struct snd_pcm_hardware axg_fifo_hw = {
26
+ static const struct snd_pcm_hardware axg_fifo_hw = {
27
27
.info = (SNDRV_PCM_INFO_INTERLEAVED |
28
28
SNDRV_PCM_INFO_MMAP |
29
29
SNDRV_PCM_INFO_MMAP_VALID |
You can’t perform that action at this time.
0 commit comments