From: Hans Verkuil <hans.verkuil@xxxxxxxxx> This patch series splits off the v4l2_rect helper functions from the vivid driver into a new v4l2-rect.h header. This makes them available for reuse in other drivers. Regards, Hans Hans Verkuil (2): v4l2-rect.h: new header with struct v4l2_rect helper functions. vivid: use new v4l2-rect.h header Documentation/DocBook/device-drivers.tmpl | 1 + drivers/media/platform/vivid/vivid-kthread-cap.c | 13 +- drivers/media/platform/vivid/vivid-vid-cap.c | 101 ++++++------- drivers/media/platform/vivid/vivid-vid-common.c | 97 ------------- drivers/media/platform/vivid/vivid-vid-common.h | 9 -- drivers/media/platform/vivid/vivid-vid-out.c | 103 ++++++------- include/media/v4l2-rect.h | 175 +++++++++++++++++++++++ 7 files changed, 286 insertions(+), 213 deletions(-) create mode 100644 include/media/v4l2-rect.h -- 2.8.0.rc3 -- 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