|
@@ -131,7 +131,7 @@ static int mmp_pcm_mmap(struct snd_pcm_substream *substream,
|
|
|
vma->vm_end - vma->vm_start, vma->vm_page_prot);
|
|
|
}
|
|
|
|
|
|
-static struct snd_pcm_ops mmp_pcm_ops = {
|
|
|
+static const struct snd_pcm_ops mmp_pcm_ops = {
|
|
|
.open = mmp_pcm_open,
|
|
|
.close = snd_dmaengine_pcm_close_release_chan,
|
|
|
.ioctl = snd_pcm_lib_ioctl,
|