diff options
author | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-05-20 12:55:29 +0000 |
---|---|---|
committer | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-05-20 12:55:29 +0000 |
commit | 90e7b82338d7f27ab65714ec0404fb785effc897 (patch) | |
tree | 1e7046a2ad3146f7e02fd1543ece20957e0c545f /pciradio.c | |
parent | 9d2f2166173a54358b244ac580c341c6dd9d5d6b (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.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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); - - - |