On Thu, 8 Sep 2005, Philip Rowlands wrote:

>That #include went into linux/module.h somewhere around 2.6.11; does
>this patch help?

Crud - I shouldn't try to hand-edit diffs. Let's try again...

Index: driver/compat.h
===================================================================
--- driver/compat.h     (revision 2638)
+++ driver/compat.h     (working copy)
@@ -24,6 +24,11 @@
 #include <linux/version.h>
 #include <linux/unistd.h>

+/* missing from module.h in earlier 2.6 kernels */
+#ifndef _LINUX_MODULE_PARAMS_H
+#include <linux/moduleparam.h>
+#endif /* _LINUX_MODULE_PARAMS_H */
+
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
 #define LINUX26 1
 #ifndef NEW_I2C


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to