summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/capi
diff options
context:
space:
mode:
authorTilman Schmidt <tilman@imap.cc>2009-10-06 14:18:15 +0200
committerDavid S. Miller <davem@davemloft.net>2009-10-07 07:20:55 +0200
commit9803f79695f552265d5c70f148876b5e2a77dd6a (patch)
treec21997015b599400285ddc63e040fc778a24e64b /drivers/isdn/capi
parentisdn: avoid races in capidrv (diff)
downloadlinux-9803f79695f552265d5c70f148876b5e2a77dd6a.tar.xz
linux-9803f79695f552265d5c70f148876b5e2a77dd6a.zip
isdn: make capidrv module parameter "debugmode" writeable
Being able to change the debugmode module parameter of capidrv on the fly is quite useful for debugging and doesn't do any harm. Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/capi')
-rw-r--r--drivers/isdn/capi/capidrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/capi/capidrv.c b/drivers/isdn/capi/capidrv.c
index 4921eae71acb..3e6d17f42a98 100644
--- a/drivers/isdn/capi/capidrv.c
+++ b/drivers/isdn/capi/capidrv.c
@@ -40,7 +40,7 @@ static int debugmode = 0;
MODULE_DESCRIPTION("CAPI4Linux: Interface to ISDN4Linux");
MODULE_AUTHOR("Carsten Paeth");
MODULE_LICENSE("GPL");
-module_param(debugmode, uint, 0);
+module_param(debugmode, uint, S_IRUGO|S_IWUSR);
/* -------- type definitions ----------------------------------------- */