|
@@ -759,7 +759,7 @@ static int snd_ml403_ac97cr_capture_close(struct snd_pcm_substream *substream)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static struct snd_pcm_ops snd_ml403_ac97cr_playback_ops = {
|
|
|
+static const struct snd_pcm_ops snd_ml403_ac97cr_playback_ops = {
|
|
|
.open = snd_ml403_ac97cr_playback_open,
|
|
|
.close = snd_ml403_ac97cr_playback_close,
|
|
|
.ioctl = snd_pcm_lib_ioctl,
|
|
@@ -770,7 +770,7 @@ static struct snd_pcm_ops snd_ml403_ac97cr_playback_ops = {
|
|
|
.pointer = snd_ml403_ac97cr_pcm_pointer,
|
|
|
};
|
|
|
|
|
|
-static struct snd_pcm_ops snd_ml403_ac97cr_capture_ops = {
|
|
|
+static const struct snd_pcm_ops snd_ml403_ac97cr_capture_ops = {
|
|
|
.open = snd_ml403_ac97cr_capture_open,
|
|
|
.close = snd_ml403_ac97cr_capture_close,
|
|
|
.ioctl = snd_pcm_lib_ioctl,
|