diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2015-03-09 13:34:09 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-02 23:36:54 -0300 |
commit | 4b30409b1b77975ed6197e3494662eedc7a1e26f (patch) | |
tree | 16b141f0b8123b49b953ad3cb4fe3ea01d0c80bc /drivers/media/usb/hdpvr/hdpvr.h | |
parent | dbe98b30d3a0d703369fef9712482e12fc685805 (diff) | |
download | blackbird-op-linux-4b30409b1b77975ed6197e3494662eedc7a1e26f.tar.gz blackbird-op-linux-4b30409b1b77975ed6197e3494662eedc7a1e26f.zip |
[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>
Diffstat (limited to 'drivers/media/usb/hdpvr/hdpvr.h')
-rw-r--r-- | drivers/media/usb/hdpvr/hdpvr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/hdpvr/hdpvr.h b/drivers/media/usb/hdpvr/hdpvr.h index dc685d44cb3e..a3194304182d 100644 --- a/drivers/media/usb/hdpvr/hdpvr.h +++ b/drivers/media/usb/hdpvr/hdpvr.h @@ -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 */ |