Hi Markus,

Németh Márton wrote:
> The inode parameter of video_usercopy() is removed between 2.6.28 and
> 2.6.29-rc2. Remove from em28xx-new driver also.
> 
> Note that the video_usercopy() is deprecated.

Do you have any comments to this patch? I attached it again.

Regards,

        Márton Németh
diff -r bd9f074ca2ab em28xx-video.c
--- a/em28xx-video.c	Thu Jan 15 19:54:26 2009 +0100
+++ b/em28xx-video.c	Sat Jan 17 14:51:06 2009 +0100
@@ -2892,7 +2892,11 @@
 		return -EIO;
 	}
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
 	ret = video_usercopy(NULL, filp, cmd, (unsigned long)arg, em28xx_video_do_ioctl);
+#else
+	ret = video_usercopy(filp, cmd, (unsigned long)arg, em28xx_video_do_ioctl);
+#endif
 
 	return ret;
 }
_______________________________________________
Em28xx mailing list
Em28xx@mcentral.de
http://mcentral.de/mailman/listinfo/em28xx

Reply via email to