summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/w9966.c
diff options
context:
space:
mode:
authorDouglas Schilling Landgraf <dougsland@gmail.com>2008-01-27 13:10:44 -0200
committerDouglas Schilling Landgraf <dougsland@gmail.com>2008-01-27 13:10:44 -0200
commit56ab5d5a038d60cd901d04a60c56f4a9e0631c00 (patch)
treed112fab93a2e3f7b87d8a68573f041272263bf3e /linux/drivers/media/video/w9966.c
parentff1fe4613740e792a39664c6fc8d05876dfef864 (diff)
downloadmediapointer-dvb-s2-56ab5d5a038d60cd901d04a60c56f4a9e0631c00.tar.gz
mediapointer-dvb-s2-56ab5d5a038d60cd901d04a60c56f4a9e0631c00.tar.bz2
[PATCH] static memory
From: Douglas Schilling Landgraf <dougsland@gmail.com> - Static memory is always initialized with 0. - Replaced in some cases C99 comments for /* */ Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Diffstat (limited to 'linux/drivers/media/video/w9966.c')
-rw-r--r--linux/drivers/media/video/w9966.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/w9966.c b/linux/drivers/media/video/w9966.c
index bad59720a..befbaf723 100644
--- a/linux/drivers/media/video/w9966.c
+++ b/linux/drivers/media/video/w9966.c
@@ -62,7 +62,7 @@
#include <media/v4l2-common.h>
#include <linux/parport.h>
-//#define DEBUG // Undef me for production
+/*#define DEBUG*/ /* Undef me for production */
#ifdef DEBUG
#define DPRINTF(x, a...) printk(KERN_DEBUG "W9966: %s(): "x, __FUNCTION__ , ##a)
@@ -135,7 +135,7 @@ MODULE_PARM_DESC(pardev, "pardev: where to search for\n\
\tEg: >pardev=parport3,aggressive,parport2,parport1< would assign\n\
\tcam 1 to parport3 and search every parport for cam 2 etc...");
-static int parmode = 0;
+static int parmode;
module_param(parmode, int, 0);
MODULE_PARM_DESC(parmode, "parmode: transfer mode (0=auto, 1=ecp, 2=epp");