V4L/DVB (3968): Fix checking logic for a broken xawtv version
Mauro Carvalho Chehab [Mon, 22 May 2006 13:31:52 +0000 (10:31 -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 68e7573..ebf0a92 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