summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/cx23885/cx23885.h
diff options
context:
space:
mode:
authorHans Verkuil2014-04-23 13:43:51 +0200
committerMauro Carvalho Chehab2014-09-03 12:57:38 +0200
commit568f44a18e9b63fbb44fcb3292c3530087ae527b (patch)
tree927e06dabdc7228fb3fe7599e91f0a27c8770d7f /drivers/media/pci/cx23885/cx23885.h
parent[media] cx23885: drop videobuf abuse in cx23885-alsa (diff)
downloadkernel-qcow2-linux-568f44a18e9b63fbb44fcb3292c3530087ae527b.tar.gz
kernel-qcow2-linux-568f44a18e9b63fbb44fcb3292c3530087ae527b.tar.xz
kernel-qcow2-linux-568f44a18e9b63fbb44fcb3292c3530087ae527b.zip
[media] cx23885: use video_drvdata to get cx23885_dev pointer
Use video_drvdata(file) instead of fh->dev to get the cx23885_dev pointer. This prepares for the vb2 conversion where fh->dev (renamed to fh->q_dev in this patch) will be removed completely. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/pci/cx23885/cx23885.h')
-rw-r--r--drivers/media/pci/cx23885/cx23885.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/cx23885/cx23885.h b/drivers/media/pci/cx23885/cx23885.h
index 9cd2b1b31cec..95f8c422a3d6 100644
--- a/drivers/media/pci/cx23885/cx23885.h
+++ b/drivers/media/pci/cx23885/cx23885.h
@@ -142,8 +142,8 @@ struct cx23885_tvnorm {
struct cx23885_fh {
struct v4l2_fh fh;
- struct cx23885_dev *dev;
u32 resources;
+ struct cx23885_dev *q_dev;
/* vbi capture */
struct videobuf_queue vidq;