* [KJ] [PATCH 1/4] Remove MODULE_PARM in media/video/arv.c
@ 2006-01-04 23:49 Eric Sesterhenn / snakebyte
0 siblings, 0 replies; only message in thread
From: Eric Sesterhenn / snakebyte @ 2006-01-04 23:49 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 803 bytes --]
hi,
this changes MODULE_PARM usage in arv.c to module_param
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
--- linux-2.6.15-eric/drivers/media/video/arv.c.orig 2006-01-05 00:26:40.000000000 +0100
+++ linux-2.6.15-eric/drivers/media/video/arv.c 2006-01-05 00:27:45.000000000 +0100
@@ -129,9 +129,9 @@ static unsigned char yuv[MAX_AR_FRAME_BY
static int freq = DEFAULT_FREQ; /* BCLK: available 50 or 70 (MHz) */
static int vga = 0; /* default mode(0:QVGA mode, other:VGA mode) */
static int vga_interlace = 0; /* 0 is normal mode for, else interlace mode */
-MODULE_PARM(freq, "i");
-MODULE_PARM(vga, "i");
-MODULE_PARM(vga_interlace, "i");
+module_param(freq, int, 0);
+module_param(vga, int, 0);
+module_param(vga_interlace, int, 0);
static int ar_initialize(struct video_device *dev);
[-- Attachment #2: Type: text/plain, Size: 168 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-04 23:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-04 23:49 [KJ] [PATCH 1/4] Remove MODULE_PARM in media/video/arv.c Eric Sesterhenn / snakebyte
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.