[media] soc_camera/pxa_camera: Constify struct dev_pm_ops
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 3 Apr 2013 05:00:39 +0000 (02:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 4 Apr 2013 22:50:48 +0000 (19:50 -0300)
struct dev_pm_ops should be const.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/soc_camera/pxa_camera.c

index b0e6f3bc0264e64a303a5ce90b9b6a554a5f8192..d665242e82072ab525b82ff385ab0ebed09c487f 100644 (file)
@@ -1796,7 +1796,7 @@ static int pxa_camera_remove(struct platform_device *pdev)
        return 0;
 }
 
-static struct dev_pm_ops pxa_camera_pm = {
+static const struct dev_pm_ops pxa_camera_pm = {
        .suspend        = pxa_camera_suspend,
        .resume         = pxa_camera_resume,
 };