summaryrefslogtreecommitdiff
path: root/wct1xxp.c
diff options
context:
space:
mode:
Diffstat (limited to 'wct1xxp.c')
-rwxr-xr-xwct1xxp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/wct1xxp.c b/wct1xxp.c
index ad7ff6c..e014dcf 100755
--- a/wct1xxp.c
+++ b/wct1xxp.c
@@ -39,6 +39,9 @@
#else
#include <linux/zaptel.h>
#endif
+#ifdef LINUX26
+#include <linux/moduleparam.h>
+#endif
#define WC_MAX_CARDS 32
@@ -1398,7 +1401,11 @@ static void __exit t1xxp_cleanup(void)
pci_unregister_driver(&t1xxp_driver);
}
+#ifdef LINUX26
+module_param(debug, int, 0600);
+#else
MODULE_PARM(debug, "i");
+#endif
MODULE_DESCRIPTION("Wildcard T100P/E100P Zaptel Driver");
MODULE_AUTHOR("Mark Spencer <markster@linux-support.net>");
#ifdef MODULE_LICENSE