All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] marvell-cam: Build fix: mcam->platform assignment
@ 2012-04-26 20:07 Chris Ball
  2012-04-26 20:08 ` Jonathan Corbet
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Ball @ 2012-04-26 20:07 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: linux-media

It seems that this driver has never been buildable upstream, because it
was merged with this line included:

       mcam->platform = MHP_Armada610;

which causes:

drivers/media/video/marvell-ccic/mmp-driver.c:184:6: error: 'struct mcam_camera' has no member named 'platform'
drivers/media/video/marvell-ccic/mmp-driver.c:184:19: error: 'MHP_Armada610' undeclared (first use in this function)

Since neither the ->platform member nor MHP_Armada610 are defined,
this patch removes the entire line.

Signed-off-by: Chris Ball <cjb@laptop.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: stable <stable@vger.kernel.org>
---
Jon, not sure what the intention was here -- any ideas?  Thanks.

 drivers/media/video/marvell-ccic/mmp-driver.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

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;
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

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

* Re: [PATCH 1/2] marvell-cam: Build fix: mcam->platform assignment
  2012-04-26 20:07 [PATCH 1/2] marvell-cam: Build fix: mcam->platform assignment Chris Ball
@ 2012-04-26 20:08 ` Jonathan Corbet
  2012-04-26 20:14   ` Chris Ball
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Corbet @ 2012-04-26 20:08 UTC (permalink / raw)
  To: Chris Ball; +Cc: linux-media

On Thu, 26 Apr 2012 16:07:25 -0400
Chris Ball <cjb@laptop.org> wrote:

> It seems that this driver has never been buildable upstream, because it
> was merged with this line included:
> 
>        mcam->platform = MHP_Armada610;

Yes, that was from a badly cherry-picked change a while back.  I sent in a
fix (the same as yours) about a week ago :)

Thanks,

jon

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

* Re: [PATCH 1/2] marvell-cam: Build fix: mcam->platform assignment
  2012-04-26 20:08 ` Jonathan Corbet
@ 2012-04-26 20:14   ` Chris Ball
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Ball @ 2012-04-26 20:14 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: linux-media

Hi,

On Thu, Apr 26 2012, Jonathan Corbet wrote:
> On Thu, 26 Apr 2012 16:07:25 -0400
> Chris Ball <cjb@laptop.org> wrote:
>
>> It seems that this driver has never been buildable upstream, because it
>> was merged with this line included:
>> 
>>        mcam->platform = MHP_Armada610;
>
> Yes, that was from a badly cherry-picked change a while back.  I sent in a
> fix (the same as yours) about a week ago :)

So you did!  Ignore this patch, then -- sorry for the noise.

Thanks,

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

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-26 20:07 [PATCH 1/2] marvell-cam: Build fix: mcam->platform assignment Chris Ball
2012-04-26 20:08 ` Jonathan Corbet
2012-04-26 20:14   ` 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.