提交 56a49194 编写于 作者: S Sachin Kamat 提交者: Mauro Carvalho Chehab

[media] soc_camera/pxa_camera: Constify struct dev_pm_ops

struct dev_pm_ops should be const.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 6003b2ad
......@@ -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,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册