From: Tilman Schmidt Date: Tue, 6 Oct 2009 12:18:15 +0000 (+0000) Subject: isdn: make capidrv module parameter "debugmode" writeable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9803f79695f552265d5c70f148876b5e2a77dd6a;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/isdn/capi/capidrv.c b/drivers/isdn/capi/capidrv.c index 4921eae71ac..3e6d17f42a9 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 ----------------------------------------- */