File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525
2626#define AIU_FIFO_I2S_BLOCK 256
2727
28- static struct snd_pcm_hardware fifo_i2s_pcm = {
28+ static const struct snd_pcm_hardware fifo_i2s_pcm = {
2929 .info = (SNDRV_PCM_INFO_INTERLEAVED |
3030 SNDRV_PCM_INFO_MMAP |
3131 SNDRV_PCM_INFO_MMAP_VALID |
Original file line number Diff line number Diff line change 2727
2828#define AIU_FIFO_SPDIF_BLOCK 8
2929
30- static struct snd_pcm_hardware fifo_spdif_pcm = {
30+ static const struct snd_pcm_hardware fifo_spdif_pcm = {
3131 .info = (SNDRV_PCM_INFO_INTERLEAVED |
3232 SNDRV_PCM_INFO_MMAP |
3333 SNDRV_PCM_INFO_MMAP_VALID |
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ struct snd_pcm_hw_params;
1818struct platform_device ;
1919
2020struct aiu_fifo {
21- struct snd_pcm_hardware * pcm ;
21+ const struct snd_pcm_hardware * pcm ;
2222 unsigned int mem_offset ;
2323 unsigned int fifo_block ;
2424 struct clk * pclk ;
Original file line number Diff line number Diff line change 2323 * These differences are handled in the respective DAI drivers
2424 */
2525
26- static struct snd_pcm_hardware axg_fifo_hw = {
26+ static const struct snd_pcm_hardware axg_fifo_hw = {
2727 .info = (SNDRV_PCM_INFO_INTERLEAVED |
2828 SNDRV_PCM_INFO_MMAP |
2929 SNDRV_PCM_INFO_MMAP_VALID |
You can’t perform that action at this time.
0 commit comments