summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-empress.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-06-03 14:51:08 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-06-03 14:51:08 -0300
commitb0c4835ca205296ee6352bbe885582e2c546e2ce (patch)
tree44b80aaeb882ec990e143c72472e45b0f1a82cb4 /linux/drivers/media/video/saa7134/saa7134-empress.c
parente92f78bc63e71d1572225b93b4ea0c31e6e6efc0 (diff)
parentaec12fb2da90fde6ec9056cec90f9a65a8b02305 (diff)
downloadmediapointer-dvb-s2-b0c4835ca205296ee6352bbe885582e2c546e2ce.tar.gz
mediapointer-dvb-s2-b0c4835ca205296ee6352bbe885582e2c546e2ce.tar.bz2
apply backout changeset
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-empress.c')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-empress.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-empress.c b/linux/drivers/media/video/saa7134/saa7134-empress.c
index ba32fd8f6..b8ecaa623 100644
--- a/linux/drivers/media/video/saa7134/saa7134-empress.c
+++ b/linux/drivers/media/video/saa7134/saa7134-empress.c
@@ -172,8 +172,7 @@ ts_mmap(struct file *file, struct vm_area_struct * vma)
static int empress_querycap(struct file *file, void *priv,
struct v4l2_capability *cap)
{
- struct saa7134_fh *fh = priv;
- struct saa7134_dev *dev = fh->dev;
+ struct saa7134_dev *dev = file->private_data;
strcpy(cap->driver, "saa7134");
strlcpy(cap->card, saa7134_boards[dev->board].name,