summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/sparc/amd7930.c2
-rw-r--r--sound/sparc/cs4231.c4
-rw-r--r--sound/sparc/dbri.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/sound/sparc/amd7930.c b/sound/sparc/amd7930.c
index 35c1f6ae773f..a6864fda725e 100644
--- a/sound/sparc/amd7930.c
+++ b/sound/sparc/amd7930.c
@@ -666,7 +666,7 @@ static snd_pcm_uframes_t snd_amd7930_capture_pointer(struct snd_pcm_substream *s
666} 666}
667 667
668/* Playback and capture have identical properties. */ 668/* Playback and capture have identical properties. */
669static struct snd_pcm_hardware snd_amd7930_pcm_hw = 669static const struct snd_pcm_hardware snd_amd7930_pcm_hw =
670{ 670{
671 .info = (SNDRV_PCM_INFO_MMAP | 671 .info = (SNDRV_PCM_INFO_MMAP |
672 SNDRV_PCM_INFO_MMAP_VALID | 672 SNDRV_PCM_INFO_MMAP_VALID |
diff --git a/sound/sparc/cs4231.c b/sound/sparc/cs4231.c
index 3d7d425fbd24..f5192b30d1ed 100644
--- a/sound/sparc/cs4231.c
+++ b/sound/sparc/cs4231.c
@@ -1089,7 +1089,7 @@ static int snd_cs4231_probe(struct snd_cs4231 *chip)
1089 return 0; /* all things are ok.. */ 1089 return 0; /* all things are ok.. */
1090} 1090}
1091 1091
1092static struct snd_pcm_hardware snd_cs4231_playback = { 1092static const struct snd_pcm_hardware snd_cs4231_playback = {
1093 .info = SNDRV_PCM_INFO_MMAP | 1093 .info = SNDRV_PCM_INFO_MMAP |
1094 SNDRV_PCM_INFO_INTERLEAVED | 1094 SNDRV_PCM_INFO_INTERLEAVED |
1095 SNDRV_PCM_INFO_MMAP_VALID | 1095 SNDRV_PCM_INFO_MMAP_VALID |
@@ -1113,7 +1113,7 @@ static struct snd_pcm_hardware snd_cs4231_playback = {
1113 .periods_max = 1024, 1113 .periods_max = 1024,
1114}; 1114};
1115 1115
1116static struct snd_pcm_hardware snd_cs4231_capture = { 1116static const struct snd_pcm_hardware snd_cs4231_capture = {
1117 .info = SNDRV_PCM_INFO_MMAP | 1117 .info = SNDRV_PCM_INFO_MMAP |
1118 SNDRV_PCM_INFO_INTERLEAVED | 1118 SNDRV_PCM_INFO_INTERLEAVED |
1119 SNDRV_PCM_INFO_MMAP_VALID | 1119 SNDRV_PCM_INFO_MMAP_VALID |
diff --git a/sound/sparc/dbri.c b/sound/sparc/dbri.c
index 52063b262667..72b6c4a51c51 100644
--- a/sound/sparc/dbri.c
+++ b/sound/sparc/dbri.c
@@ -1980,7 +1980,7 @@ static irqreturn_t snd_dbri_interrupt(int irq, void *dev_id)
1980/**************************************************************************** 1980/****************************************************************************
1981 PCM Interface 1981 PCM Interface
1982****************************************************************************/ 1982****************************************************************************/
1983static struct snd_pcm_hardware snd_dbri_pcm_hw = { 1983static const struct snd_pcm_hardware snd_dbri_pcm_hw = {
1984 .info = SNDRV_PCM_INFO_MMAP | 1984 .info = SNDRV_PCM_INFO_MMAP |
1985 SNDRV_PCM_INFO_INTERLEAVED | 1985 SNDRV_PCM_INFO_INTERLEAVED |
1986 SNDRV_PCM_INFO_BLOCK_TRANSFER | 1986 SNDRV_PCM_INFO_BLOCK_TRANSFER |