On Wed, 7 Sep 2005, Scott Weber wrote: >ivtv-0.2.0-rc3k.tgz >SUSE 9.1 > >It didn't know what module_param(...) was. I had to modify the source >by adding "#include <linux/moduleparam.h>" to several source >files. > >I know nothing about module programming, so I don't even know what this >does.
It add the description lines you see from "modinfo ivtv", explaining what the module parameters do. >Any comments? >My install screwed up? >A mistake in the project somewhere? That #include went into linux/module.h somewhere around 2.6.11; does this patch help? Cheers, Phil Index: 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
