|
@@ -312,7 +312,7 @@ static void vpif_stop_streaming(struct vb2_queue *vq)
|
|
spin_unlock_irqrestore(&common->irqlock, flags);
|
|
spin_unlock_irqrestore(&common->irqlock, flags);
|
|
}
|
|
}
|
|
|
|
|
|
-static struct vb2_ops video_qops = {
|
|
|
|
|
|
+static const struct vb2_ops video_qops = {
|
|
.queue_setup = vpif_buffer_queue_setup,
|
|
.queue_setup = vpif_buffer_queue_setup,
|
|
.buf_prepare = vpif_buffer_prepare,
|
|
.buf_prepare = vpif_buffer_prepare,
|
|
.start_streaming = vpif_start_streaming,
|
|
.start_streaming = vpif_start_streaming,
|