Re: [PATCH] soc-camera: fix compile breakage on SH

From: Adrian Bunk
Date: Wed Oct 15 2008 - 01:20:41 EST


On Wed, Oct 15, 2008 at 06:33:03AM +0300, Adrian Bunk wrote:
> On Tue, Oct 14, 2008 at 11:53:37PM +0200, Guennadi Liakhovetski wrote:
> > Fix Migo-R compile breakage caused by incomplete merge.
> >
> > Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@xxxxxx>
> >
> > ---
> >
> > Hi Adrian,
>
> Hi Guennadi,
>
> > please see, if the patch below fixes it. Completely untested. Magnus,
> > could you please verify if it also works (of course, if it at least
> > compiles:-)) If it doesn't, please fix it along these lines, if it suits
> > your needs.
> >...
>
> it does compile.
>...

But it causes compile breakage elsewhere:

<-- snip -->

...
CC drivers/media/video/soc_camera_platform.o
drivers/media/video/soc_camera_platform.c: In function âsoc_camera_platform_initâ:
drivers/media/video/soc_camera_platform.c:49: error: âstruct soc_camera_platform_infoâ has no member named âpowerâ
drivers/media/video/soc_camera_platform.c:50: error: âstruct soc_camera_platform_infoâ has no member named âpowerâ
drivers/media/video/soc_camera_platform.c: In function âsoc_camera_platform_releaseâ:
drivers/media/video/soc_camera_platform.c:59: error: âstruct soc_camera_platform_infoâ has no member named âpowerâ
drivers/media/video/soc_camera_platform.c:60: error: âstruct soc_camera_platform_infoâ has no member named âpowerâ
make[4]: *** [drivers/media/video/soc_camera_platform.o] Error 1

<-- snip -->

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

--
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/