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