aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/hdpvr/hdpvr.h
diff options
context:
space:
mode:
authorJanne Grunau <j@jannau.net>2009-03-27 19:01:40 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:43 -0400
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 3af415d81df7..1edd8759121e 100644
--- a/drivers/media/video/hdpvr/hdpvr.h
+++ b/drivers/media/video/hdpvr/hdpvr.h
@@ -15,6 +15,8 @@
15#include <linux/workqueue.h> 15#include <linux/workqueue.h>
16#include <linux/videodev2.h> 16#include <linux/videodev2.h>
17 17
18#include <media/v4l2-device.h>
19
18#define HDPVR_MAJOR_VERSION 0 20#define HDPVR_MAJOR_VERSION 0
19#define HDPVR_MINOR_VERSION 2 21#define HDPVR_MINOR_VERSION 2
20#define HDPVR_RELEASE 0 22#define HDPVR_RELEASE 0
@@ -65,6 +67,8 @@ struct hdpvr_device {
65 struct video_device *video_dev; 67 struct video_device *video_dev;
66 /* the usb device for this device */ 68 /* the usb device for this device */
67 struct usb_device *udev; 69 struct usb_device *udev;
70 /* v4l2-device unused */
71 struct v4l2_device v4l2_dev;
68 72
69 /* the max packet size of the bulk endpoint */ 73 /* the max packet size of the bulk endpoint */
70 size_t bulk_in_size; 74 size_t bulk_in_size;