#ifndef compat_module_param_array #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) # define _MODULE_PARM_STRING_charp "s" # define compat_module_param_array(name, type, count, perm) \ static inline void *__check_existence_##name(void) { return &name; } \ MODULE_PARM(name, "1-" __MODULE_STRING(count) _MODULE_PARM_STRING_##type) #else # define compat_module_param_array(name, type, count, perm) \ module_param_array(name, type, NULL, perm) #endif #endif