From: Gerd Knorr <kraxel@bytesex.org>
To: Andrew Morton <akpm@osdl.org>,
Kernel List <linux-kernel@vger.kernel.org>
Subject: [patch] v4l: ir-common modparam
Date: Mon, 8 Nov 2004 09:53:44 +0100 [thread overview]
Message-ID: <20041108085344.GA19307@bytesex> (raw)
Convert the ir-common module to new-style insmod options.
Signed-off-by: Gerd Knorr <kraxel@bytesex.org>
---
drivers/media/common/ir-common.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff -u linux-2.6.10/drivers/media/common/ir-common.c linux/drivers/media/common/ir-common.c
--- linux-2.6.10/drivers/media/common/ir-common.c 2004-11-07 12:23:30.784211678 +0100
+++ linux/drivers/media/common/ir-common.c 2004-11-07 16:07:15.079364384 +0100
@@ -1,5 +1,5 @@
/*
- * $Id: ir-common.c,v 1.4 2004/10/13 10:39:00 kraxel Exp $
+ * $Id: ir-common.c,v 1.5 2004/11/07 13:17:15 kraxel Exp $
*
* some common structs and functions to handle infrared remotes via
* input layer ...
@@ -31,11 +31,11 @@
MODULE_LICENSE("GPL");
static int repeat = 1;
-MODULE_PARM(repeat,"i");
+module_param(repeat, int, 0444);
MODULE_PARM_DESC(repeat,"auto-repeat for IR keys (default: on)");
static int debug = 0; /* debug level (0,1,2) */
-MODULE_PARM(debug,"i");
+module_param(debug, int, 0644);
#define dprintk(level, fmt, arg...) if (debug >= level) \
printk(KERN_DEBUG fmt , ## arg)
--
#define printk(args...) fprintf(stderr, ## args)
reply other threads:[~2004-11-08 9:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041108085344.GA19307@bytesex \
--to=kraxel@bytesex.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox