From: Hans Verkuil <hans.verkuil@xxxxxxxxx> This patch series takes Laurent's patch 1/2 and by adding the device_caps field to video_device it makes it possible to create a real is_media_entity_v4l2_io() function. Regards, Hans Hans Verkuil (4): v4l2: add device_caps to struct video_device v4l2-pci-skeleton.c: fill in device_caps in video_device vivid: set device_caps in video_device. media-entity.h: rename _io to _video_device and add real _io Laurent Pinchart (1): media: Add type field to struct media_entity Documentation/video4linux/v4l2-pci-skeleton.c | 6 +-- drivers/media/platform/vivid/vivid-core.c | 22 +++----- drivers/media/v4l2-core/v4l2-dev.c | 1 + drivers/media/v4l2-core/v4l2-ioctl.c | 3 ++ drivers/media/v4l2-core/v4l2-subdev.c | 1 + include/media/media-entity.h | 77 ++++++++++++++------------- include/media/v4l2-common.h | 28 ++++++++++ include/media/v4l2-dev.h | 3 ++ 8 files changed, 85 insertions(+), 56 deletions(-) -- 2.7.0 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html