All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] marvell-cam: fix an ARM build error
@ 2012-04-20 16:22 Jonathan Corbet
  2012-04-26 20:13 ` Chris Ball
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Corbet @ 2012-04-20 16:22 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: linux-media, Mathieu Poirier, Arnd Bergmann

One of the OLPC changes lost a little in its translation to mainline,
leading to build errors on the ARM architecture.  Remove the offending
line, and all will be well.

Reported-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: stable@vger.kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

diff --git a/drivers/media/video/marvell-ccic/mmp-driver.c b/drivers/media/video/marvell-ccic/mmp-driver.c
index d235523..c4c17fe 100644
--- a/drivers/media/video/marvell-ccic/mmp-driver.c
+++ b/drivers/media/video/marvell-ccic/mmp-driver.c
@@ -181,7 +181,6 @@ static int mmpcam_probe(struct platform_device *pdev)
 	INIT_LIST_HEAD(&cam->devlist);
 
 	mcam = &cam->mcam;
-	mcam->platform = MHP_Armada610;
 	mcam->plat_power_up = mmpcam_power_up;
 	mcam->plat_power_down = mmpcam_power_down;
 	mcam->dev = &pdev->dev;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] marvell-cam: fix an ARM build error
  2012-04-20 16:22 [PATCH] marvell-cam: fix an ARM build error Jonathan Corbet
@ 2012-04-26 20:13 ` Chris Ball
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Ball @ 2012-04-26 20:13 UTC (permalink / raw)
  To: Jonathan Corbet
  Cc: Mauro Carvalho Chehab, linux-media, Mathieu Poirier, Arnd Bergmann

Hi,

On Fri, Apr 20 2012, Jonathan Corbet wrote:
> One of the OLPC changes lost a little in its translation to mainline,
> leading to build errors on the ARM architecture.  Remove the offending
> line, and all will be well.
>
> Reported-by: Mathieu Poirier <mathieu.poirier@linaro.org>
> Cc: stable@vger.kernel.org
> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
>
> diff --git a/drivers/media/video/marvell-ccic/mmp-driver.c b/drivers/media/video/marvell-ccic/mmp-driver.c
> index d235523..c4c17fe 100644
> --- a/drivers/media/video/marvell-ccic/mmp-driver.c
> +++ b/drivers/media/video/marvell-ccic/mmp-driver.c
> @@ -181,7 +181,6 @@ static int mmpcam_probe(struct platform_device *pdev)
>  	INIT_LIST_HEAD(&cam->devlist);
>  
>  	mcam = &cam->mcam;
> -	mcam->platform = MHP_Armada610;
>  	mcam->plat_power_up = mmpcam_power_up;
>  	mcam->plat_power_down = mmpcam_power_down;
>  	mcam->dev = &pdev->dev;

Tested-by: Chris Ball <cjb@laptop.org>

Thanks!

- Chris.
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-26 20:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-20 16:22 [PATCH] marvell-cam: fix an ARM build error Jonathan Corbet
2012-04-26 20:13 ` Chris Ball

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.