[Prism54-devel] Re: MODULE_PARM compatibility code

Margit Schubert-While margitsw@t-online.de
Sun, 14 Mar 2004 13:32:53 +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