diff options
author | russell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-01-13 18:42:35 +0000 |
---|---|---|
committer | russell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-01-13 18:42:35 +0000 |
commit | 9dc5820bfd7c60ad191869bfedd49757141a9fcf (patch) | |
tree | 716a72e97d65c00013d7bf3fc8716d78f2aeec66 /zaptel.c | |
parent | 165be1ce385571158a7541671f3bf8b26146d8eb (diff) |
use module_parm for 2.6 (bug #3321)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/v1-0@547 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zaptel.c')
-rwxr-xr-x | zaptel.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -6209,8 +6209,14 @@ MODULE_DESCRIPTION("Zapata Telephony Interface"); #ifdef MODULE_LICENSE MODULE_LICENSE("GPL"); #endif + +#ifdef LINUX26 +module_param(debug, int, 0600); +module_param(deftaps, int, 0600); +#else MODULE_PARM(debug, "i"); MODULE_PARM(deftaps, "i"); +#endif static struct file_operations zt_fops = { owner: THIS_MODULE, |