|
|
@@ -302,7 +302,7 @@ static snd_pcm_uframes_t playback_pointer(struct snd_pcm_substream *substream)
|
|
|
|
|
|
int snd_dice_create_pcm(struct snd_dice *dice)
|
|
|
{
|
|
|
- static struct snd_pcm_ops capture_ops = {
|
|
|
+ static const struct snd_pcm_ops capture_ops = {
|
|
|
.open = pcm_open,
|
|
|
.close = pcm_close,
|
|
|
.ioctl = snd_pcm_lib_ioctl,
|
|
|
@@ -314,7 +314,7 @@ int snd_dice_create_pcm(struct snd_dice *dice)
|
|
|
.page = snd_pcm_lib_get_vmalloc_page,
|
|
|
.mmap = snd_pcm_lib_mmap_vmalloc,
|
|
|
};
|
|
|
- static struct snd_pcm_ops playback_ops = {
|
|
|
+ static const struct snd_pcm_ops playback_ops = {
|
|
|
.open = pcm_open,
|
|
|
.close = pcm_close,
|
|
|
.ioctl = snd_pcm_lib_ioctl,
|