summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/hexium_orion.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/hexium_orion.c')
-rw-r--r--linux/drivers/media/video/hexium_orion.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/hexium_orion.c b/linux/drivers/media/video/hexium_orion.c
index f6d4ca5a3..2030e8200 100644
--- a/linux/drivers/media/video/hexium_orion.c
+++ b/linux/drivers/media/video/hexium_orion.c
@@ -174,8 +174,9 @@ static int hexium_detach(struct saa7146_dev* dev)
return 0;
}
-static int hexium_ioctl(struct saa7146_dev *dev, unsigned int cmd, void *arg)
+static int hexium_ioctl(struct saa7146_fh *fh, unsigned int cmd, void *arg)
{
+ struct saa7146_dev *dev = fh->dev;
struct hexium* hexium = (struct hexium*)dev->ext_priv;
/*
struct saa7146_vv *vv = dev->vv_data;