[svn-commits] branch 1.2 r1076 - /branches/1.2/pciradio.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Sat May 20 05:55:30 MST 2006


Author: kpfleming
Date: Sat May 20 07:55:29 2006
New Revision: 1076

URL: http://svn.digium.com/view/zaptel?rev=1076&view=rev
Log:
update module to work with kernels that don't include 2.4 module parameter compatibility macros (reported by tzafrir on asterisk-dev)

Modified:
    branches/1.2/pciradio.c

Modified: branches/1.2/pciradio.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/pciradio.c?rev=1076&r1=1075&r2=1076&view=diff
==============================================================================
--- branches/1.2/pciradio.c (original)
+++ branches/1.2/pciradio.c Sat May 20 07:55:29 2006
@@ -1807,15 +1807,18 @@
 	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 at lambdatel.com>");
+
 #ifdef MODULE_LICENSE
 MODULE_LICENSE("GPL");
 #endif
 
 module_init(pciradio_init);
 module_exit(pciradio_cleanup);
-
-
-



More information about the svn-commits mailing list