diff options
Diffstat (limited to 'zaptel.c')
-rwxr-xr-x | zaptel.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -84,6 +84,10 @@ #include <linux/zaptel.h> #endif +#ifdef LINUX26 +#include <linux/moduleparam.h> +#endif + /* Get helper arithmetic */ #include "arith.h" #if defined(CONFIG_ZAPTEL_MMX) || defined(ECHO_CAN_FP) @@ -6209,8 +6213,14 @@ MODULE_DESCRIPTION("Zapata Telephony Interface"); #ifdef MODULE_LICENSE MODULE_LICENSE("GPL"); #endif + +#ifdef LINUX26 +module_param(debug, int, 0600); +module_param(deftaps, int, 0600); +#else MODULE_PARM(debug, "i"); MODULE_PARM(deftaps, "i"); +#endif static struct file_operations zt_fops = { owner: THIS_MODULE, |