summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/gspca.h
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-07-30 04:53:02 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-08-06 06:57:15 -0300
commit335b3f88f2c3cb101059970f57860503b20d210f (patch)
tree8f2d71384a4422c25e46c5401aaaaf5d2e15ffc7 /drivers/media/video/gspca/gspca.h
parent8f47a3cefbb275893ce26ade7094599e4b129bb3 (diff)
downloadblackbird-op-linux-335b3f88f2c3cb101059970f57860503b20d210f.tar.gz
blackbird-op-linux-335b3f88f2c3cb101059970f57860503b20d210f.zip
V4L/DVB (8571): gspca: Don't use CONFIG_VIDEO_ADV_DEBUG as a compile option.
This option is changed to GSPCA_DEBUG and it is set by default in gspca.h. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/gspca/gspca.h')
-rw-r--r--drivers/media/video/gspca/gspca.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/gspca.h b/drivers/media/video/gspca/gspca.h
index 3fd2c4eee204..67e448940eaa 100644
--- a/drivers/media/video/gspca/gspca.h
+++ b/drivers/media/video/gspca/gspca.h
@@ -9,7 +9,10 @@
#include <media/v4l2-common.h>
#include <linux/mutex.h>
-#ifdef CONFIG_VIDEO_ADV_DEBUG
+/* compilation option */
+#define GSPCA_DEBUG 1
+
+#ifdef GSPCA_DEBUG
/* GSPCA our debug messages */
extern int gspca_debug;
#define PDEBUG(level, fmt, args...) \
OpenPOWER on IntegriCloud