summaryrefslogtreecommitdiff
path: root/pciradio.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-05-20 12:55:29 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-05-20 12:55:29 +0000
commit90e7b82338d7f27ab65714ec0404fb785effc897 (patch)
tree1e7046a2ad3146f7e02fd1543ece20957e0c545f /pciradio.c
parent9d2f2166173a54358b244ac580c341c6dd9d5d6b (diff)
update module to work with kernels that don't include 2.4 module parameter compatibility macros (reported by tzafrir on asterisk-dev)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1076 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'pciradio.c')
-rw-r--r--pciradio.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/pciradio.c b/pciradio.c
index 0d122aa..20b41cc 100644
--- a/pciradio.c
+++ b/pciradio.c
@@ -1807,15 +1807,18 @@ static void __exit pciradio_cleanup(void)
pci_unregister_driver(&pciradio_driver);
}
+#ifdef LINUX26
+module_param(debug, int, 0600);
+#else
MODULE_PARM(debug, "i");
-MODULE_DESCRIPTION("Zapate Telephony PCI Radio Card Zaptel Driver");
+#endif
+
+MODULE_DESCRIPTION("Zapata Telephony PCI Radio Card Zaptel Driver");
MODULE_AUTHOR("Jim Dixon <jim@lambdatel.com>");
+
#ifdef MODULE_LICENSE
MODULE_LICENSE("GPL");
#endif
module_init(pciradio_init);
module_exit(pciradio_cleanup);
-
-
-