|
@@ -550,7 +550,7 @@ static snd_pcm_uframes_t snd_bt87x_pointer(struct snd_pcm_substream *substream)
|
|
return (snd_pcm_uframes_t)bytes_to_frames(runtime, chip->current_line * chip->line_bytes);
|
|
return (snd_pcm_uframes_t)bytes_to_frames(runtime, chip->current_line * chip->line_bytes);
|
|
}
|
|
}
|
|
|
|
|
|
-static struct snd_pcm_ops snd_bt87x_pcm_ops = {
|
|
|
|
|
|
+static const struct snd_pcm_ops snd_bt87x_pcm_ops = {
|
|
.open = snd_bt87x_pcm_open,
|
|
.open = snd_bt87x_pcm_open,
|
|
.close = snd_bt87x_close,
|
|
.close = snd_bt87x_close,
|
|
.ioctl = snd_pcm_lib_ioctl,
|
|
.ioctl = snd_pcm_lib_ioctl,
|