summaryrefslogtreecommitdiff
path: root/wct1xxp.c
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-13 06:20:02 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-13 06:20:02 +0000
commitbac68d2af34466cbaf0473684c47bb25dd44fd9f (patch)
tree6ffb0294c1100d496eb70ebbb73274418965e820 /wct1xxp.c
parent69a127fe2d00903fbaa32a37695b22e163c41153 (diff)
Fix for 2.6 module parm (bug #3321)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@546 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct1xxp.c')
-rwxr-xr-xwct1xxp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/wct1xxp.c b/wct1xxp.c
index ad7ff6c..a801bf4 100755
--- a/wct1xxp.c
+++ b/wct1xxp.c
@@ -1398,7 +1398,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