From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: V4L: mt9m032: fix compilation breakage
Date: Wed, 18 Apr 2012 12:05:01 +0200 [thread overview]
Message-ID: <4280495.q2ukDEsUSN@avalon> (raw)
In-Reply-To: <Pine.LNX.4.64.1204180930170.30514@axis700.grange>
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@gmx.de>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Applied to my tree.
--
Regards,
Laurent Pinchart
prev parent reply other threads:[~2012-04-18 10:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-18 7:59 V4L: mt9m032: fix compilation breakage Guennadi Liakhovetski
2012-04-18 10:05 ` Laurent Pinchart [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4280495.q2ukDEsUSN@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=g.liakhovetski@gmx.de \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).