Commit 9419045f authored by Randy Dunlap's avatar Randy Dunlap Committed by Mauro Carvalho Chehab

V4L/DVB (3616a): cpia cleanups

one printk needs a newline at end;
better MODULE_PARM_DESC text formatting;
don't need to init static data to 0;
Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 26abe023
...@@ -64,14 +64,13 @@ MODULE_LICENSE("GPL"); ...@@ -64,14 +64,13 @@ MODULE_LICENSE("GPL");
MODULE_SUPPORTED_DEVICE("video"); MODULE_SUPPORTED_DEVICE("video");
#endif #endif
static unsigned short colorspace_conv = 0; static unsigned short colorspace_conv;
module_param(colorspace_conv, ushort, 0444); module_param(colorspace_conv, ushort, 0444);
MODULE_PARM_DESC(colorspace_conv, MODULE_PARM_DESC(colorspace_conv,
"\n<n> Colorspace conversion:" " Colorspace conversion:"
"\n0 = disable" "\n 0 = disable, 1 = enable"
"\n1 = enable" "\n Default value is 0"
"\nDefault value is 0" );
"\n");
#define ABOUT "V4L-Driver for Vision CPiA based cameras" #define ABOUT "V4L-Driver for Vision CPiA based cameras"
...@@ -4042,7 +4041,7 @@ static int __init cpia_init(void) ...@@ -4042,7 +4041,7 @@ static int __init cpia_init(void)
"allowed, it is disabled by default now. Users should fix the " "allowed, it is disabled by default now. Users should fix the "
"applications in case they don't work without conversion " "applications in case they don't work without conversion "
"reenabled by setting the 'colorspace_conv' module " "reenabled by setting the 'colorspace_conv' module "
"parameter to 1"); "parameter to 1\n");
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
proc_cpia_create(); proc_cpia_create();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment