summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGerd Knorr <kraxel@bytesex.org>2004-11-10 21:44:20 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-10 21:44:20 -0800
commitc38985d224df990d623ed012a3bf7b036ed05769 (patch)
tree3ebf87063de9cd9134fbccbec629f3ac6b847022 /drivers
parent4628f2a1a2761ac5dff5ea33d1722bbab571f530 (diff)
[PATCH] v4l: ir-common modparam
Convert the ir-common module to new-style insmod options. Signed-off-by: Gerd Knorr <kraxel@bytesex.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/common/ir-common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/common/ir-common.c b/drivers/media/common/ir-common.c
index 15e157be7fad..25d3945cdc0c 100644
--- a/drivers/media/common/ir-common.c
+++ b/drivers/media/common/ir-common.c
@@ -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_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]");
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)