Skip to contentSkip to conversation

v4l: ir-common modparam

PATCH New Gerd Knorr 1 participant 1 message Nov 8, 2004 Media (V4L/DVB)

lore
Share & tools
lore

Gerd Knorr

author
#0 lore raw

PATCH 1/1 v4l: ir-common modparam

Convert the ir-common module to new-style insmod options.

---
 drivers/media/common/ir-common.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/media/common/ir-common.c +3 -3
diff -u linux-2.6.10/drivers/media/common/ir-common.c linux/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_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)
Signature · 1 line
#define printk(args...) fprintf(stderr, ## args)