summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-03-01 19:28:27 +0000
committerShaun Ruffell <sruffell@digium.com>2010-03-01 19:28:27 +0000
commit48a30e5a368deca86cfbfc7f6345263e9c524f31 (patch)
tree90adae7e2a7268a552f2bef0ed7a885489b2e22d /drivers/dahdi/wcte12xp
parent895902ceaafad9b629e49102cf19492af97a4e07 (diff)
wcmtd24xxp, wcte12xp: Make vpmsupport module parameter read only.
The vpmsupport module parameter (and a few other ones) do not do anything if they are changed after the driver is first loaded. Therefore, let's make these module parameters read only at runtime. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8188 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte12xp')
-rw-r--r--drivers/dahdi/wcte12xp/base.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c
index 27a44cf..d38d513 100644
--- a/drivers/dahdi/wcte12xp/base.c
+++ b/drivers/dahdi/wcte12xp/base.c
@@ -2004,10 +2004,10 @@ module_param(alarmdebounce, int, S_IRUGO | S_IWUSR);
module_param(losalarmdebounce, int, S_IRUGO | S_IWUSR);
module_param(aisalarmdebounce, int, S_IRUGO | S_IWUSR);
module_param(yelalarmdebounce, int, S_IRUGO | S_IWUSR);
-module_param(latency, int, S_IRUGO | S_IWUSR);
+module_param(latency, int, S_IRUGO);
#ifdef VPM_SUPPORT
-module_param(vpmsupport, int, S_IRUGO | S_IWUSR);
-module_param(vpmtsisupport, int, S_IRUGO | S_IWUSR);
+module_param(vpmsupport, int, S_IRUGO);
+module_param(vpmtsisupport, int, S_IRUGO);
module_param(vpmnlptype, int, S_IRUGO);
module_param(vpmnlpthresh, int, S_IRUGO);
module_param(vpmnlpmaxsupp, int, S_IRUGO);