summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/zc3xx.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-07-30 09:53:02 +0200
committerJean-Francois Moine <moinejf@free.fr>2008-07-30 09:53:02 +0200
commitabf4d1bfa93f14a0b50d1a51ed0df6a608ee62ca (patch)
tree3dac0d84ec62a79bd0286bc45dc63d8f32256a69 /linux/drivers/media/video/gspca/zc3xx.c
parentb658f057c86873a8cfe6e0a1d62dc661acc49d38 (diff)
downloadmediapointer-dvb-s2-abf4d1bfa93f14a0b50d1a51ed0df6a608ee62ca.tar.gz
mediapointer-dvb-s2-abf4d1bfa93f14a0b50d1a51ed0df6a608ee62ca.tar.bz2
gspca: Don't use CONFIG_VIDEO_ADV_DEBUG as a compile option.
From: Jean-Francois Moine <moinejf@free.fr> 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>
Diffstat (limited to 'linux/drivers/media/video/gspca/zc3xx.c')
-rw-r--r--linux/drivers/media/video/gspca/zc3xx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/gspca/zc3xx.c b/linux/drivers/media/video/gspca/zc3xx.c
index 0c7b20598..ff0c30e4a 100644
--- a/linux/drivers/media/video/gspca/zc3xx.c
+++ b/linux/drivers/media/video/gspca/zc3xx.c
@@ -6474,7 +6474,7 @@ static void setcontrast(struct gspca_dev *gspca_dev)
NULL, Tgradient_1, Tgradient_2,
Tgradient_3, Tgradient_4, Tgradient_5, Tgradient_6
};
-#ifdef CONFIG_VIDEO_ADV_DEBUG
+#ifdef GSPCA_DEBUG
__u8 v[16];
#endif
@@ -6492,7 +6492,7 @@ static void setcontrast(struct gspca_dev *gspca_dev)
else if (g <= 0)
g = 1;
reg_w(dev, g, 0x0120 + i); /* gamma */
-#ifdef CONFIG_VIDEO_ADV_DEBUG
+#ifdef GSPCA_DEBUG
if (gspca_debug & D_CONF)
v[i] = g;
#endif
@@ -6512,7 +6512,7 @@ static void setcontrast(struct gspca_dev *gspca_dev)
g = 1;
}
reg_w(dev, g, 0x0130 + i); /* gradient */
-#ifdef CONFIG_VIDEO_ADV_DEBUG
+#ifdef GSPCA_DEBUG
if (gspca_debug & D_CONF)
v[i] = g;
#endif