]> bbs.cooldavid.org Git - net-next-2.6.git/commit
V4L/DVB (13506): uvcvideo: Factorize common field in uvc_entity structure
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 25 Nov 2009 15:00:30 +0000 (12:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:42:13 +0000 (18:42 -0200)
commit8ca5a639f4f3eb8958a7e270fcff7516374637a5
treec4d79ad0d56913cfedff5c9018d2f32b2f7cc2a1
parent4057ac6ca9a77c4275b34b5925ab5c99557913b1
V4L/DVB (13506): uvcvideo: Factorize common field in uvc_entity structure

The bNrInPins and baSourceID fields are common among all entities (some
of use bSourceID but this is conceptually the same). Move those two
fields out of entity type-specific unions into the uvc_entity structure
top level.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_driver.c
drivers/media/video/uvc/uvc_v4l2.c
drivers/media/video/uvc/uvcvideo.h