summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-05-21 01:20:34 +0000
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-05-21 01:20:34 +0000
commit5dc15f2aedd22c56635e73f55385cc6a23ed9eaa (patch)
treed13e1548587f819994d94f2cb8638799b3a333b1 /linux/drivers
parent272b8714337c3df423122eacc657451ebd0c1982 (diff)
downloadmediapointer-dvb-s2-5dc15f2aedd22c56635e73f55385cc6a23ed9eaa.tar.gz
mediapointer-dvb-s2-5dc15f2aedd22c56635e73f55385cc6a23ed9eaa.tar.bz2
saa7134_empress
From: Dmitri Belimov <d.belimov@gmail.com> This is patch for fix data structure in querycap syscall. Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers')
-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,