Skip to content

Commit

Permalink
V4L/DVB (3616a): cpia cleanups
Browse files Browse the repository at this point in the history
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: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Randy Dunlap authored and Mauro Carvalho Chehab committed Apr 2, 2006
1 parent 26abe02 commit 9419045
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions drivers/media/video/cpia.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,13 @@ MODULE_LICENSE("GPL");
MODULE_SUPPORTED_DEVICE("video");
#endif

static unsigned short colorspace_conv = 0;
static unsigned short colorspace_conv;
module_param(colorspace_conv, ushort, 0444);
MODULE_PARM_DESC(colorspace_conv,
"\n<n> Colorspace conversion:"
"\n0 = disable"
"\n1 = enable"
"\nDefault value is 0"
"\n");
" Colorspace conversion:"
"\n 0 = disable, 1 = enable"
"\n Default value is 0"
);

#define ABOUT "V4L-Driver for Vision CPiA based cameras"

Expand Down Expand Up @@ -4042,7 +4041,7 @@ static int __init cpia_init(void)
"allowed, it is disabled by default now. Users should fix the "
"applications in case they don't work without conversion "
"reenabled by setting the 'colorspace_conv' module "
"parameter to 1");
"parameter to 1\n");

#ifdef CONFIG_PROC_FS
proc_cpia_create();
Expand Down

0 comments on commit 9419045

Please sign in to comment.