|
@@ -322,7 +322,7 @@ static snd_pcm_uframes_t fsl_asrc_dma_pcm_pointer(struct snd_pcm_substream *subs
|
|
|
return bytes_to_frames(substream->runtime, pair->pos);
|
|
|
}
|
|
|
|
|
|
-static struct snd_pcm_ops fsl_asrc_dma_pcm_ops = {
|
|
|
+static const struct snd_pcm_ops fsl_asrc_dma_pcm_ops = {
|
|
|
.ioctl = snd_pcm_lib_ioctl,
|
|
|
.hw_params = fsl_asrc_dma_hw_params,
|
|
|
.hw_free = fsl_asrc_dma_hw_free,
|