diff options
author | Mike Isely <isely@pobox.com> | 2009-03-06 20:20:31 -0600 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2009-03-06 20:20:31 -0600 |
commit | 3472c5f6e471cbe81091eb4f014a9991365270c5 (patch) | |
tree | 21cb13eff478b5c8521e870a318c0b36cef25eed /linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | |
parent | 2c96263b343a7a5eb2d017b7727227941a00fc3d (diff) | |
download | mediapointer-dvb-s2-3472c5f6e471cbe81091eb4f014a9991365270c5.tar.gz mediapointer-dvb-s2-3472c5f6e471cbe81091eb4f014a9991365270c5.tar.bz2 |
pvrusb2: Set up v4l2_device instance
From: Mike Isely <isely@pobox.com>
Define a v4l2_device instance in the pvrusb2 driver and initialize /
tear it down appropriately. This is a step in the v4l2-subdev
adoption effort.
Priority: normal
Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h index d96f0f510..09798403e 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h @@ -38,6 +38,7 @@ #include <linux/mutex.h> #include "pvrusb2-hdw.h" #include "pvrusb2-io.h" +#include <media/v4l2-device.h> #include <media/cx2341x.h> #include "pvrusb2-devattr.h" @@ -179,6 +180,8 @@ struct pvr2_hdw { struct usb_device *usb_dev; struct usb_interface *usb_intf; + /* Our handle into the v4l2 sub-device architecture */ + struct v4l2_device v4l2_dev; /* Device description, anything that must adjust behavior based on device specific info will use information held here. */ const struct pvr2_device_desc *hdw_desc; |