Hello Markus,

Németh Márton wrote:
> The inode parameter of v4l_compat_translate_ioctl() was removed in 2.6.28.
> Remove it also from the em28xx-new driver.

Please don't forget this patch, this is also needed for compiling with 2.6.28.
The reference to the changeset is:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=f473bf76c71ca734a16f9331ce6b6e9603641888

Regards,

        Márton Németh
--- em28xx-new/em28xx-video.c.orig	2008-12-29 12:32:32.000000000 +0100
+++ em28xx-new/em28xx-video.c	2008-12-29 12:36:26.000000000 +0100
@@ -2403,8 +2403,12 @@ static int em28xx_do_ioctl(struct inode 
 		return 0;
 	}
 	default:
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28)
 		return v4l_compat_translate_ioctl(inode, filp, cmd, arg,
 						  driver_ioctl);
+#else
+		return v4l_compat_translate_ioctl(filp, cmd, arg, driver_ioctl);
+#endif
 	}
 	return 0;
 }
_______________________________________________
Em28xx mailing list
Em28xx@mcentral.de
http://mcentral.de/mailman/listinfo/em28xx

Reply via email to