[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: V4L: mt9m032: fix compilation breakage



Hi Guennadi,

Thanks for the patch.

On Wednesday 18 April 2012 09:59:01 Guennadi Liakhovetski wrote:
> Fix the following compilation failure:
> 
> linux-2.6/drivers/media/video/mt9m032.c: In function
> '__mt9m032_get_pad_crop': linux-2.6/drivers/media/video/mt9m032.c:337:
> error: implicit declaration of function 'v4l2_subdev_get_try_crop'
> linux-2.6/drivers/media/video/mt9m032.c:337: warning: return makes pointer
> from integer without a cast linux-2.6/drivers/media/video/mt9m032.c: In
> function '__mt9m032_get_pad_format':
> linux-2.6/drivers/media/video/mt9m032.c:359: error: implicit declaration of
> function 'v4l2_subdev_get_try_format'
> linux-2.6/drivers/media/video/mt9m032.c:359: warning: return makes pointer
> from integer without a cast linux-2.6/drivers/media/video/mt9m032.c: In
> function 'mt9m032_probe': linux-2.6/drivers/media/video/mt9m032.c:767:
> error: 'struct v4l2_subdev' has no member named 'entity'
> linux-2.6/drivers/media/video/mt9m032.c:826: error: 'struct v4l2_subdev'
> has no member named 'entity' linux-2.6/drivers/media/video/mt9m032.c: In
> function 'mt9m032_remove': linux-2.6/drivers/media/video/mt9m032.c:842:
> error: 'struct v4l2_subdev' has no member named 'entity' make[4]: ***
> [drivers/media/video/mt9m032.o] Error 1
> 
> by adding a dependency on VIDEO_V4L2_SUBDEV_API.
> 
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@xxxxxx>

Acked-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>

Applied to my tree.

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux Input]     [Video for Linux]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Photos]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Yosemite Backpacking]

Add to Google Powered by Linux