[media] hdpvr: embed video_device
Embed the video_device struct to simplify the error handling and in order to (eventually) get rid of video_device_alloc/release. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
dbe98b30d3
commit
4b30409b1b
@@ -66,7 +66,7 @@ struct hdpvr_options {
|
||||
/* Structure to hold all of our device specific stuff */
|
||||
struct hdpvr_device {
|
||||
/* the v4l device for this device */
|
||||
struct video_device *video_dev;
|
||||
struct video_device video_dev;
|
||||
/* the control handler for this device */
|
||||
struct v4l2_ctrl_handler hdl;
|
||||
/* the usb device for this device */
|
||||
|
Reference in New Issue
Block a user