Message ID | 1301874670-14833-6-git-send-email-pawel@osciak.com (mailing list archive) |
---|---|
State | RFC |
Headers | show |
diff --git a/drivers/media/video/mx3_camera.c b/drivers/media/video/mx3_camera.c index 8630c0c..1703b93 100644 --- a/drivers/media/video/mx3_camera.c +++ b/drivers/media/video/mx3_camera.c @@ -400,7 +400,7 @@ static int mx3_videobuf_init(struct vb2_buffer *vb) return 0; } -static int mx3_stop_streaming(struct vb2_queue *q) +static void mx3_stop_streaming(struct vb2_queue *q) { struct soc_camera_device *icd = soc_camera_from_vb2q(q); struct soc_camera_host *ici = to_soc_camera_host(icd->dev.parent); @@ -425,8 +425,6 @@ static int mx3_stop_streaming(struct vb2_queue *q) } spin_unlock_irqrestore(&mx3_cam->lock, flags); - - return 0; } static struct vb2_ops mx3_videobuf_ops = {
The stop_streaming() callback does not return a value anymore. Signed-off-by: Pawel Osciak <pawel@osciak.com> --- drivers/media/video/mx3_camera.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)