media: staging/media: set device_caps in struct video_device
Instead of filling in the struct v4l2_capability device_caps field, fill in the struct video_device device_caps field. That way the V4L2 core knows what the capabilities of the video device are. But this only really works if all drivers use this, so convert all staging/media drivers in this patch. Signed-off-by:Hans Verkuil <hverkuil-cisco@xs4all.nl> Reviewed-by:
Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Showing
- drivers/staging/media/bcm2048/radio-bcm2048.c 2 additions, 5 deletionsdrivers/staging/media/bcm2048/radio-bcm2048.c
- drivers/staging/media/davinci_vpfe/vpfe_video.c 5 additions, 4 deletionsdrivers/staging/media/davinci_vpfe/vpfe_video.c
- drivers/staging/media/omap4iss/iss_video.c 5 additions, 6 deletionsdrivers/staging/media/omap4iss/iss_video.c
Loading
Please register or sign in to comment