Re: linux-next: Tree for Apr 10 (media/i2c/ov2659)

From: Randy Dunlap
Date: Fri Apr 10 2015 - 13:06:40 EST


On 04/10/15 04:18, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20150409:
>

on x86_64:
when # CONFIG_VIDEO_V4L2_SUBDEV_API is not set:


CC [M] drivers/media/i2c/ov2659.o
../drivers/media/i2c/ov2659.c: In function 'ov2659_get_fmt':
../drivers/media/i2c/ov2659.c:1054:3: error: implicit declaration of function 'v4l2_subdev_get_try_format' [-Werror=implicit-function-declaration]
mf = v4l2_subdev_get_try_format(sd, cfg, 0);
^
../drivers/media/i2c/ov2659.c:1054:6: warning: assignment makes pointer from integer without a cast [enabled by default]
mf = v4l2_subdev_get_try_format(sd, cfg, 0);
^
../drivers/media/i2c/ov2659.c: In function 'ov2659_set_fmt':
../drivers/media/i2c/ov2659.c:1129:6: warning: assignment makes pointer from integer without a cast [enabled by default]
mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
^
../drivers/media/i2c/ov2659.c: In function 'ov2659_open':
../drivers/media/i2c/ov2659.c:1264:38: error: 'struct v4l2_subdev_fh' has no member named 'pad'
v4l2_subdev_get_try_format(sd, fh->pad, 0);
^



--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/