Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] newstruct compile fix for kernel <= 2.4.4 :-)
diff -u -r1.1.2.47 av7110.c
--- driver/av7110/av7110.c 9 Aug 2002 09:48:43 -0000 1.1.2.47
+++ driver/av7110/av7110.c 13 Sep 2002 23:30:46 -0000
@@ -3301,7 +3301,11 @@
av7110->video.priv = av7110;
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,4,4)
if( 0 > (video_register_device(&av7110->video,
VFL_TYPE_GRABBER, -1))) {
+#else
+ if( 0 > (video_register_device(&av7110->video,
VFL_TYPE_GRABBER))) {
+#endif
printk(KERN_ERR "dvb: can't register videodevice\n");
return -1;
}
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index