summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/hdpvr/hdpvr.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-03-09 13:34:09 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-02 23:36:54 -0300
commit4b30409b1b77975ed6197e3494662eedc7a1e26f (patch)
tree16b141f0b8123b49b953ad3cb4fe3ea01d0c80bc /drivers/media/usb/hdpvr/hdpvr.h
parentdbe98b30d3a0d703369fef9712482e12fc685805 (diff)
downloadblackbird-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.h2
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 */
OpenPOWER on IntegriCloud