|
@@ -43,7 +43,7 @@ MODULE_PARM_DESC(pcm_debug, "enable debug messages for pcm");
|
|
|
pr_info("cobalt-alsa-pcm %s: " fmt, __func__, ##arg); \
|
|
|
} while (0)
|
|
|
|
|
|
-static struct snd_pcm_hardware snd_cobalt_hdmi_capture = {
|
|
|
+static const struct snd_pcm_hardware snd_cobalt_hdmi_capture = {
|
|
|
.info = SNDRV_PCM_INFO_BLOCK_TRANSFER |
|
|
|
SNDRV_PCM_INFO_MMAP |
|
|
|
SNDRV_PCM_INFO_INTERLEAVED |
|
|
@@ -64,7 +64,7 @@ static struct snd_pcm_hardware snd_cobalt_hdmi_capture = {
|
|
|
.periods_max = 4,
|
|
|
};
|
|
|
|
|
|
-static struct snd_pcm_hardware snd_cobalt_playback = {
|
|
|
+static const struct snd_pcm_hardware snd_cobalt_playback = {
|
|
|
.info = SNDRV_PCM_INFO_BLOCK_TRANSFER |
|
|
|
SNDRV_PCM_INFO_MMAP |
|
|
|
SNDRV_PCM_INFO_INTERLEAVED |
|