summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pwc
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-05-02 09:29:34 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-05-02 09:29:34 -0300
commit91a3da5165321c89bb4a35937d47f19ac53f8899 (patch)
tree5301c461f7ed91efeb18e99e45e1e268307dd1f4 /linux/drivers/media/video/pwc
parent750b7fc24921cc90350f9fcb3eab4edbaeeb5965 (diff)
downloadmediapointer-dvb-s2-91a3da5165321c89bb4a35937d47f19ac53f8899.tar.gz
mediapointer-dvb-s2-91a3da5165321c89bb4a35937d47f19ac53f8899.tar.bz2
Fix checking logic for a broken xawtv version
From: Mauro Carvalho Chehab <mchehab@infradead.org> moved from if to ifndef. Also added such tests at gentree script. Gentree updated to its latest version. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/pwc')
-rw-r--r--linux/drivers/media/video/pwc/pwc-v4l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/pwc/pwc-v4l.c b/linux/drivers/media/video/pwc/pwc-v4l.c
index 961ce2ddf..df4bbdb1e 100644
--- a/linux/drivers/media/video/pwc/pwc-v4l.c
+++ b/linux/drivers/media/video/pwc/pwc-v4l.c
@@ -127,7 +127,7 @@ static struct v4l2_queryctrl pwc_controls[] = {
.step = 1,
.default_value = 0,
},
-#if XAWTV_HAS_BEEN_FIXED
+#ifndef BROKEN_XAWTV
{
.id = V4L2_CID_PRIVATE_SAVE_USER,
.type = V4L2_CTRL_TYPE_BUTTON,