From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tilman Schmidt Subject: [PATCH 4/4] isdn: make capidrv module parameter "debugmode" writeable Date: Sat, 19 Sep 2009 01:57:43 +0200 (CEST) Message-ID: <20090919-patch-capi-4.tilman@imap.cc> References: <20090919-patch-capi-0.tilman@imap.cc> Cc: davem@davemloft.net, i4ldeveloper@listserv.isdn4linux.de, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Karsten Keil , Karsten Keil Return-path: Received: from gimli.pxnet.com ([195.227.45.7]:35034 "EHLO mail.pxnet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750975AbZIRX6Q (ORCPT ); Fri, 18 Sep 2009 19:58:16 -0400 In-Reply-To: <20090919-patch-capi-0.tilman@imap.cc> Sender: netdev-owner@vger.kernel.org List-ID: 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 --- drivers/isdn/capi/capidrv.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/isdn/capi/capidrv.c b/drivers/isdn/capi/capidrv.c index 4921eae..3e6d17f 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 ----------------------------------------- */ -- 1.6.2.1.214.ge986c