[media] uvcvideo: Move fields from uvc_buffer::buf to uvc_buffer
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 24 Oct 2011 14:49:19 +0000 (11:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 11 Dec 2011 13:12:05 +0000 (11:12 -0200)
Add mem, length and bytesused fields to the uvc_buffer structure and use
them instead of accessing the uvc_buffer::buf m.offset, length and
bytesused fields directly. This prepares the driver to the conversion to
videobuf2.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found