diff options
Diffstat (limited to 'ztdynamic.c')
-rwxr-xr-x | ztdynamic.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ztdynamic.c b/ztdynamic.c index 3515e16..4d959dd 100755 --- a/ztdynamic.c +++ b/ztdynamic.c @@ -40,6 +40,9 @@ #else #include <linux/zaptel.h> #endif +#ifdef LINUX26 +#include <linux/moduleparam.h> +#endif /* * Tasklets provide better system interactive response at the cost of the @@ -817,7 +820,11 @@ void ztdynamic_cleanup(void) printk("Zaptel Dynamic Span support unloaded\n"); } +#ifdef LINUX26 +module_param(debug, int, 0600); +#else MODULE_PARM(debug, "i"); +#endif MODULE_DESCRIPTION("Zaptel Dynamic Span Support"); MODULE_AUTHOR("Mark Spencer <markster@linux-support.net>"); #ifdef MODULE_LICENSE |