aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/es1938.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/es1938.c')
-rw-r--r--sound/pci/es1938.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/es1938.c b/sound/pci/es1938.c
index 8963d7688fb0..681355829484 100644
--- a/sound/pci/es1938.c
+++ b/sound/pci/es1938.c
@@ -992,7 +992,7 @@ static int snd_es1938_playback_close(struct snd_pcm_substream *substream)
992 return 0; 992 return 0;
993} 993}
994 994
995static struct snd_pcm_ops snd_es1938_playback_ops = { 995static const struct snd_pcm_ops snd_es1938_playback_ops = {
996 .open = snd_es1938_playback_open, 996 .open = snd_es1938_playback_open,
997 .close = snd_es1938_playback_close, 997 .close = snd_es1938_playback_close,
998 .ioctl = snd_pcm_lib_ioctl, 998 .ioctl = snd_pcm_lib_ioctl,
@@ -1003,7 +1003,7 @@ static struct snd_pcm_ops snd_es1938_playback_ops = {
1003 .pointer = snd_es1938_playback_pointer, 1003 .pointer = snd_es1938_playback_pointer,
1004}; 1004};
1005 1005
1006static struct snd_pcm_ops snd_es1938_capture_ops = { 1006static const struct snd_pcm_ops snd_es1938_capture_ops = {
1007 .open = snd_es1938_capture_open, 1007 .open = snd_es1938_capture_open,
1008 .close = snd_es1938_capture_close, 1008 .close = snd_es1938_capture_close,
1009 .ioctl = snd_pcm_lib_ioctl, 1009 .ioctl = snd_pcm_lib_ioctl,