]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
marvell-cam: fix an ARM build error
authorJonathan Corbet <corbet@lwn.net>
Fri, 20 Apr 2012 15:22:50 +0000 (12:22 -0300)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 20 May 2012 21:56:40 +0000 (22:56 +0100)
commit 9967232f1be5bab10c7b7a8dcf51ff5c3c1a6d77 upstream.

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>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/media/video/marvell-ccic/mmp-driver.c

index fb0b124b35f302529eadcc9f3eef85db3820a10a..a6b7657d73b26ebf87e27931597b1fb5efad4ee4 100644 (file)
@@ -175,7 +175,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;