]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/raw.c
V4L/DVB (10236): pvrusb2: Stop advertising VBI capability - it isn't there
[linux-2.6-omap-h63xx.git] / drivers / char / raw.c
index f3cf5eb9b7fb81cbc88fc1b6897b1a9d0b550ad4..96adf28a17e43b309d8af6858d695015c84cc6d1 100644 (file)
@@ -125,7 +125,7 @@ raw_ioctl(struct inode *inode, struct file *filp,
 {
        struct block_device *bdev = filp->private_data;
 
-       return blkdev_ioctl(bdev->bd_inode, NULL, command, arg);
+       return blkdev_ioctl(bdev, 0, command, arg);
 }
 
 static void bind_device(struct raw_config_request *rq)