V4L/DVB (3968): Fix checking logic for a broken xawtv version
authorMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 22 May 2006 13:31:52 +0000 (10:31 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 25 Jun 2006 04:59:58 +0000 (01:59 -0300)
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>
drivers/media/video/pwc/pwc-v4l.c

index 68e7573c8ef2b7e8f85830f68186c395cade9bd0..ebf0a92b395626147de1214c17536a770b4af08b 100644 (file)
@@ -127,7 +127,6 @@ static struct v4l2_queryctrl pwc_controls[] = {
            .step    = 1,
            .default_value = 0,
        },
-#if XAWTV_HAS_BEEN_FIXED
        {
            .id      = V4L2_CID_PRIVATE_SAVE_USER,
            .type    = V4L2_CTRL_TYPE_BUTTON,
@@ -209,7 +208,6 @@ static struct v4l2_queryctrl pwc_controls[] = {
            .step    = 1,
            .default_value = 0,
        },
-#endif
 };
 
 #if CONFIG_PWC_DEBUG