summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/stv680.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/stv680.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/stv680.c')
-rw-r--r--linux/drivers/media/video/stv680.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/linux/drivers/media/video/stv680.c b/linux/drivers/media/video/stv680.c
index ee11c70fa..b1e40ec94 100644
--- a/linux/drivers/media/video/stv680.c
+++ b/linux/drivers/media/video/stv680.c
@@ -75,10 +75,13 @@
#include "stv680.h"
static int video_nr = -1;
-static int swapRGB = 0; /* default for auto sleect */
-static int swapRGB_on = 0; /* default to allow auto select; -1=swap never, +1= swap always */
-static unsigned int debug = 0;
+static int swapRGB; /* 0 = default for auto select */
+
+/* 0 = default to allow auto select; -1 = swap never, +1 = swap always */
+static int swapRGB_on;
+
+static unsigned int debug;
#define PDEBUG(level, fmt, args...) \
do { \