summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/saa7164/saa7164.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-06-12 05:49:50 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-21 11:03:39 -0300
commitd66de790c77b98589b93cb327bde2cddd2a4c2cc (patch)
treef026820dbfe9fc80208e6e2a4027aabc5a01f1d5 /drivers/media/pci/saa7164/saa7164.h
parentf1741fa8dd4a561e883cf60f103c40eda8790d80 (diff)
downloadtalos-obmc-linux-d66de790c77b98589b93cb327bde2cddd2a4c2cc.tar.gz
talos-obmc-linux-d66de790c77b98589b93cb327bde2cddd2a4c2cc.zip
[media] saa7164: add v4l2_device and replace parent with v4l2_dev
This driver did not yet support struct v4l2_device, so add it. This make it possible to replace the deprecated parent field with the v4l2_dev field, allowing the eventual removal of the parent field. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/pci/saa7164/saa7164.h')
-rw-r--r--drivers/media/pci/saa7164/saa7164.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/pci/saa7164/saa7164.h b/drivers/media/pci/saa7164/saa7164.h
index 2df47ea28289..8b29e8990301 100644
--- a/drivers/media/pci/saa7164/saa7164.h
+++ b/drivers/media/pci/saa7164/saa7164.h
@@ -63,6 +63,7 @@
#include <dmxdev.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
+#include <media/v4l2-device.h>
#include "saa7164-reg.h"
#include "saa7164-types.h"
@@ -427,6 +428,8 @@ struct saa7164_dev {
struct list_head devlist;
atomic_t refcount;
+ struct v4l2_device v4l2_dev;
+
/* pci stuff */
struct pci_dev *pci;
unsigned char pci_rev, pci_lat;
OpenPOWER on IntegriCloud