File tree Expand file tree Collapse file tree 8 files changed +9
-9
lines changed Expand file tree Collapse file tree 8 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 16
16
#include "fsl_rpmsg.h"
17
17
#include "imx-pcm-rpmsg.h"
18
18
19
- static struct snd_pcm_hardware imx_rpmsg_pcm_hardware = {
19
+ static const struct snd_pcm_hardware imx_rpmsg_pcm_hardware = {
20
20
.info = SNDRV_PCM_INFO_INTERLEAVED |
21
21
SNDRV_PCM_INFO_BLOCK_TRANSFER |
22
22
SNDRV_PCM_INFO_BATCH |
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 |
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ struct q6apm_dai_data {
81
81
long long sid ;
82
82
};
83
83
84
- static struct snd_pcm_hardware q6apm_dai_hardware_capture = {
84
+ static const struct snd_pcm_hardware q6apm_dai_hardware_capture = {
85
85
.info = (SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_BLOCK_TRANSFER |
86
86
SNDRV_PCM_INFO_MMAP_VALID | SNDRV_PCM_INFO_INTERLEAVED |
87
87
SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_RESUME |
@@ -100,7 +100,7 @@ static struct snd_pcm_hardware q6apm_dai_hardware_capture = {
100
100
.fifo_size = 0 ,
101
101
};
102
102
103
- static struct snd_pcm_hardware q6apm_dai_hardware_playback = {
103
+ static const struct snd_pcm_hardware q6apm_dai_hardware_playback = {
104
104
.info = (SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_BLOCK_TRANSFER |
105
105
SNDRV_PCM_INFO_MMAP_VALID | SNDRV_PCM_INFO_INTERLEAVED |
106
106
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 |
Original file line number Diff line number Diff line change 14
14
15
15
#include "aio.h"
16
16
17
- static struct snd_pcm_hardware uniphier_aiodma_hw = {
17
+ static const struct snd_pcm_hardware uniphier_aiodma_hw = {
18
18
.info = SNDRV_PCM_INFO_MMAP |
19
19
SNDRV_PCM_INFO_MMAP_VALID |
20
20
SNDRV_PCM_INFO_INTERLEAVED ,
You can’t perform that action at this time.
0 commit comments