[Prism54-devel] Re: MODULE_PARM compatibility code

Martin Dummer md11@epost.de
Mon, 15 Mar 2004 08:33:46 +0100


 > Martin, you are making it overly complicated.
 > Just do :
 > #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,25)
 > #include <linux/moduleparam.h>
 > #else
 > #define module_param(a, b, c)  MODULE_PARM(a, "i")
 > #endif
 >
 > Luis, the modparm change only works with >=2.4.25 but you have not
 > updated the README etc.
 >
 > Margit

You are absolutely right... I'm sorry but I have only very few 
experiences with source code...

I appreciate your proposition and will create a new patch today.
Luis updated the Changelog properly, otherwise it would not have been 
possible to locate my compiling problems so quickly for a rookie like me....

Martin