[media] ad9389b: fix compilation with GCC < 4.4.6
Signed-off-by: Gianluca Gennari <gennarone@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
aefd4a5ae6
commit
8f110d68f5
@@ -628,16 +628,13 @@ static int ad9389b_s_stream(struct v4l2_subdev *sd, int enable)
|
|||||||
|
|
||||||
static const struct v4l2_dv_timings_cap ad9389b_timings_cap = {
|
static const struct v4l2_dv_timings_cap ad9389b_timings_cap = {
|
||||||
.type = V4L2_DV_BT_656_1120,
|
.type = V4L2_DV_BT_656_1120,
|
||||||
.bt = {
|
/* keep this initialization for compatibility with GCC < 4.4.6 */
|
||||||
.max_width = 1920,
|
.reserved = { 0 },
|
||||||
.max_height = 1200,
|
V4L2_INIT_BT_TIMINGS(0, 1920, 0, 1200, 25000000, 170000000,
|
||||||
.min_pixelclock = 25000000,
|
V4L2_DV_BT_STD_CEA861 | V4L2_DV_BT_STD_DMT |
|
||||||
.max_pixelclock = 170000000,
|
|
||||||
.standards = V4L2_DV_BT_STD_CEA861 | V4L2_DV_BT_STD_DMT |
|
|
||||||
V4L2_DV_BT_STD_GTF | V4L2_DV_BT_STD_CVT,
|
V4L2_DV_BT_STD_GTF | V4L2_DV_BT_STD_CVT,
|
||||||
.capabilities = V4L2_DV_BT_CAP_PROGRESSIVE |
|
V4L2_DV_BT_CAP_PROGRESSIVE | V4L2_DV_BT_CAP_REDUCED_BLANKING |
|
||||||
V4L2_DV_BT_CAP_REDUCED_BLANKING | V4L2_DV_BT_CAP_CUSTOM,
|
V4L2_DV_BT_CAP_CUSTOM)
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static int ad9389b_s_dv_timings(struct v4l2_subdev *sd,
|
static int ad9389b_s_dv_timings(struct v4l2_subdev *sd,
|
||||||
|
Reference in New Issue
Block a user