summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--v4l/ChangeLog7
-rw-r--r--v4l/lgdt3302.c7
2 files changed, 12 insertions, 2 deletions
diff --git a/v4l/ChangeLog b/v4l/ChangeLog
index c989bd6a9..0b080a182 100644
--- a/v4l/ChangeLog
+++ b/v4l/ChangeLog
@@ -1,5 +1,12 @@
2005-06-28 09:04 mkrufky
* lgdt3302.c:
+ - Revert previous changes:
+ The code was better off in it's original form.
+
+ Signed-off-by: Michael Krufky <mkrufky@m1k.net>
+
+2005-06-28 09:04 mkrufky
+ * lgdt3302.c:
- Changed some code in preparation for merge into linux-tv cvs.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
diff --git a/v4l/lgdt3302.c b/v4l/lgdt3302.c
index 415f920da..ee602f6e6 100644
--- a/v4l/lgdt3302.c
+++ b/v4l/lgdt3302.c
@@ -1,5 +1,5 @@
/*
- * $Id: lgdt3302.c,v 1.10 2005/06/28 15:46:07 mkrufky Exp $
+ * $Id: lgdt3302.c,v 1.11 2005/06/28 16:12:14 mkrufky Exp $
*
* Support for LGDT3302 (DViCO FustionHDTV 3 Gold) - VSB/QAM
*
@@ -50,7 +50,10 @@
static int debug = 0;
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug,"Turn on/off lgdt3302 frontend debugging (default:off).");
-#define dprintk(args...) { if (debug) printk(KERN_DEBUG "lgdt3302: " args); }
+#define dprintk(args...) \
+do { \
+if (debug) printk(KERN_DEBUG "lgdt3302: " args); \
+} while (0)
struct lgdt3302_state
{