diff options
Diffstat (limited to 'sound/sparc')
-rw-r--r-- | sound/sparc/amd7930.c | 4 | ||||
-rw-r--r-- | sound/sparc/cs4231.c | 4 | ||||
-rw-r--r-- | sound/sparc/dbri.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sound/sparc/amd7930.c b/sound/sparc/amd7930.c index a6864fda725e..56f17410fcea 100644 --- a/sound/sparc/amd7930.c +++ b/sound/sparc/amd7930.c | |||
@@ -733,7 +733,7 @@ static int snd_amd7930_hw_free(struct snd_pcm_substream *substream) | |||
733 | return snd_pcm_lib_free_pages(substream); | 733 | return snd_pcm_lib_free_pages(substream); |
734 | } | 734 | } |
735 | 735 | ||
736 | static struct snd_pcm_ops snd_amd7930_playback_ops = { | 736 | static const struct snd_pcm_ops snd_amd7930_playback_ops = { |
737 | .open = snd_amd7930_playback_open, | 737 | .open = snd_amd7930_playback_open, |
738 | .close = snd_amd7930_playback_close, | 738 | .close = snd_amd7930_playback_close, |
739 | .ioctl = snd_pcm_lib_ioctl, | 739 | .ioctl = snd_pcm_lib_ioctl, |
@@ -744,7 +744,7 @@ static struct snd_pcm_ops snd_amd7930_playback_ops = { | |||
744 | .pointer = snd_amd7930_playback_pointer, | 744 | .pointer = snd_amd7930_playback_pointer, |
745 | }; | 745 | }; |
746 | 746 | ||
747 | static struct snd_pcm_ops snd_amd7930_capture_ops = { | 747 | static const struct snd_pcm_ops snd_amd7930_capture_ops = { |
748 | .open = snd_amd7930_capture_open, | 748 | .open = snd_amd7930_capture_open, |
749 | .close = snd_amd7930_capture_close, | 749 | .close = snd_amd7930_capture_close, |
750 | .ioctl = snd_pcm_lib_ioctl, | 750 | .ioctl = snd_pcm_lib_ioctl, |
diff --git a/sound/sparc/cs4231.c b/sound/sparc/cs4231.c index f5192b30d1ed..e73c962590eb 100644 --- a/sound/sparc/cs4231.c +++ b/sound/sparc/cs4231.c | |||
@@ -1203,7 +1203,7 @@ static int snd_cs4231_capture_close(struct snd_pcm_substream *substream) | |||
1203 | * XXX the audio AUXIO register... | 1203 | * XXX the audio AUXIO register... |
1204 | */ | 1204 | */ |
1205 | 1205 | ||
1206 | static struct snd_pcm_ops snd_cs4231_playback_ops = { | 1206 | static const struct snd_pcm_ops snd_cs4231_playback_ops = { |
1207 | .open = snd_cs4231_playback_open, | 1207 | .open = snd_cs4231_playback_open, |
1208 | .close = snd_cs4231_playback_close, | 1208 | .close = snd_cs4231_playback_close, |
1209 | .ioctl = snd_pcm_lib_ioctl, | 1209 | .ioctl = snd_pcm_lib_ioctl, |
@@ -1214,7 +1214,7 @@ static struct snd_pcm_ops snd_cs4231_playback_ops = { | |||
1214 | .pointer = snd_cs4231_playback_pointer, | 1214 | .pointer = snd_cs4231_playback_pointer, |
1215 | }; | 1215 | }; |
1216 | 1216 | ||
1217 | static struct snd_pcm_ops snd_cs4231_capture_ops = { | 1217 | static const struct snd_pcm_ops snd_cs4231_capture_ops = { |
1218 | .open = snd_cs4231_capture_open, | 1218 | .open = snd_cs4231_capture_open, |
1219 | .close = snd_cs4231_capture_close, | 1219 | .close = snd_cs4231_capture_close, |
1220 | .ioctl = snd_pcm_lib_ioctl, | 1220 | .ioctl = snd_pcm_lib_ioctl, |
diff --git a/sound/sparc/dbri.c b/sound/sparc/dbri.c index 72b6c4a51c51..abc7bd5055eb 100644 --- a/sound/sparc/dbri.c +++ b/sound/sparc/dbri.c | |||
@@ -2213,7 +2213,7 @@ static snd_pcm_uframes_t snd_dbri_pointer(struct snd_pcm_substream *substream) | |||
2213 | return ret; | 2213 | return ret; |
2214 | } | 2214 | } |
2215 | 2215 | ||
2216 | static struct snd_pcm_ops snd_dbri_ops = { | 2216 | static const struct snd_pcm_ops snd_dbri_ops = { |
2217 | .open = snd_dbri_open, | 2217 | .open = snd_dbri_open, |
2218 | .close = snd_dbri_close, | 2218 | .close = snd_dbri_close, |
2219 | .ioctl = snd_pcm_lib_ioctl, | 2219 | .ioctl = snd_pcm_lib_ioctl, |