From: Sachin Kamat Date: Wed, 3 Apr 2013 05:00:39 +0000 (-0300) Subject: [media] soc_camera/pxa_camera: Constify struct dev_pm_ops X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=56a49194048d00b127711d2f1f557cf3e4b5fece;p=linux-beck.git [media] soc_camera/pxa_camera: Constify struct dev_pm_ops struct dev_pm_ops should be const. Signed-off-by: Sachin Kamat Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/soc_camera/pxa_camera.c b/drivers/media/platform/soc_camera/pxa_camera.c index b0e6f3bc0264..d665242e8207 100644 --- a/drivers/media/platform/soc_camera/pxa_camera.c +++ b/drivers/media/platform/soc_camera/pxa_camera.c @@ -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, };