summaryrefslogtreecommitdiffstats
path: root/sound/sparc/amd7930.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/sparc/amd7930.c')
-rw-r--r--sound/sparc/amd7930.c4
1 files changed, 2 insertions, 2 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
736static struct snd_pcm_ops snd_amd7930_playback_ops = { 736static 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
747static struct snd_pcm_ops snd_amd7930_capture_ops = { 747static 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,