2004-11-08 09:12:41

by Gerd Knorr

[permalink] [raw]
Subject: [patch] v4l: v4l1-compat modparam

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

Signed-off-by: Gerd Knorr <[email protected]>
---
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)