]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ieee1394/video1394.c
ARM: OMAP: Fixed compile for I2C
[linux-2.6-omap-h63xx.git] / drivers / ieee1394 / video1394.c
index 06759b36afea0cc87896d844e3718a35ff4f68ca..9d6facf2f78f5751f3da65890ea94cf3f5419143 100644 (file)
@@ -883,7 +883,7 @@ static int __video1394_ioctl(struct file *file,
                              v.channel);
                }
 
-               if (copy_to_user((void *)arg, &v, sizeof(v))) {
+               if (copy_to_user(argp, &v, sizeof(v))) {
                        /* FIXME : free allocated dma resources */
                        return -EFAULT;
                }