]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
media: marvell-cam: fix an ARM build error
authorJonathan Corbet <corbet@lwn.net>
Fri, 20 Apr 2012 15:22:50 +0000 (12:22 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 May 2012 17:46:17 +0000 (10:46 -0700)
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/video/marvell-ccic/mmp-driver.c

index 0d64e2d7474a52eebc06bf1dd84314ba7d32d288..f7533ae4ee597289542dee7a168c1a4e644c92de 100644 (file)
@@ -176,7 +176,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;