Commit 56a49194 authored by Sachin Kamat's avatar Sachin Kamat Committed by Mauro Carvalho Chehab

[media] soc_camera/pxa_camera: Constify struct dev_pm_ops

struct dev_pm_ops should be const.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 6003b2ad
...@@ -1796,7 +1796,7 @@ static int pxa_camera_remove(struct platform_device *pdev) ...@@ -1796,7 +1796,7 @@ static int pxa_camera_remove(struct platform_device *pdev)
return 0; return 0;
} }
static struct dev_pm_ops pxa_camera_pm = { static const struct dev_pm_ops pxa_camera_pm = {
.suspend = pxa_camera_suspend, .suspend = pxa_camera_suspend,
.resume = pxa_camera_resume, .resume = pxa_camera_resume,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment