Commit d762052e authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB (3968): Fix checking logic for a broken xawtv version

moved from if to ifndef.
Also added such tests at gentree script. Gentree updated to its latest
version.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent f6320bd3
...@@ -127,7 +127,6 @@ static struct v4l2_queryctrl pwc_controls[] = { ...@@ -127,7 +127,6 @@ static struct v4l2_queryctrl pwc_controls[] = {
.step = 1, .step = 1,
.default_value = 0, .default_value = 0,
}, },
#if XAWTV_HAS_BEEN_FIXED
{ {
.id = V4L2_CID_PRIVATE_SAVE_USER, .id = V4L2_CID_PRIVATE_SAVE_USER,
.type = V4L2_CTRL_TYPE_BUTTON, .type = V4L2_CTRL_TYPE_BUTTON,
...@@ -209,7 +208,6 @@ static struct v4l2_queryctrl pwc_controls[] = { ...@@ -209,7 +208,6 @@ static struct v4l2_queryctrl pwc_controls[] = {
.step = 1, .step = 1,
.default_value = 0, .default_value = 0,
}, },
#endif
}; };
#if CONFIG_PWC_DEBUG #if CONFIG_PWC_DEBUG
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment