diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-04-23 08:43:51 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-09-03 07:57:38 -0300 |
commit | 568f44a18e9b63fbb44fcb3292c3530087ae527b (patch) | |
tree | 927e06dabdc7228fb3fe7599e91f0a27c8770d7f /drivers/media/pci/cx23885/cx23885.h | |
parent | 9529a4b0cf49163e489446ec159a2dfb64f78df8 (diff) | |
download | talos-op-linux-568f44a18e9b63fbb44fcb3292c3530087ae527b.tar.gz talos-op-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.h | 2 |
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; |