[patch] v4l: v4l1-compat modparam

From: Gerd Knorr
Date: Mon Nov 08 2004 - 04:15:36 EST


Convert v4l1-compat module to new-style insmod options.

Signed-off-by: Gerd Knorr <kraxel@xxxxxxxxxxx>
---
drivers/media/video/v4l1-compat.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -u linux-2.6.10/drivers/media/video/v4l1-compat.c linux/drivers/media/video/v4l1-compat.c
--- linux-2.6.10/drivers/media/video/v4l1-compat.c 2004-11-07 12:23:00.000000000 +0100
+++ linux/drivers/media/video/v4l1-compat.c 2004-11-07 16:08:43.865616761 +0100
@@ -44,7 +44,7 @@
#endif

static unsigned int debug = 0;
-MODULE_PARM(debug,"i");
+module_param(debug, int, 0644);
MODULE_PARM_DESC(debug,"enable debug messages");
MODULE_AUTHOR("Bill Dirks");
MODULE_DESCRIPTION("v4l(1) compatibility layer for v4l2 drivers.");

--
#define printk(args...) fprintf(stderr, ## args)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/