aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/hdpvr/hdpvr.h
diff options
context:
space:
mode:
authorJanne Grunau <j@jannau.net>2009-03-27 20:01:40 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 12:43:43 -0300
commit06630aec92d6a71658ac1538e2a65af5cfc5f2af (patch)
treea765950e5ad32466fee4585c2e9bf3766951a118 /drivers/media/video/hdpvr/hdpvr.h
parent0b61dca28909bc548581bec75e3b90faaa7f11fd (diff)
V4L/DVB (11245): hdpvr: add struct v4l2_device
Signed-off-by: Janne Grunau <j@jannau.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/hdpvr/hdpvr.h')
-rw-r--r--drivers/media/video/hdpvr/hdpvr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/hdpvr/hdpvr.h b/drivers/media/video/hdpvr/hdpvr.h
index 3af415d81df..1edd8759121 100644
--- a/drivers/media/video/hdpvr/hdpvr.h
+++ b/drivers/media/video/hdpvr/hdpvr.h
@@ -15,6 +15,8 @@
#include <linux/workqueue.h>
#include <linux/videodev2.h>
+#include <media/v4l2-device.h>
+
#define HDPVR_MAJOR_VERSION 0
#define HDPVR_MINOR_VERSION 2
#define HDPVR_RELEASE 0
@@ -65,6 +67,8 @@ struct hdpvr_device {
struct video_device *video_dev;
/* the usb device for this device */
struct usb_device *udev;
+ /* v4l2-device unused */
+ struct v4l2_device v4l2_dev;
/* the max packet size of the bulk endpoint */
size_t bulk_in_size;