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

[media] soc_camera: Constify dev_pm_ops in mt9t031.c

Silences the following warning:
WARNING: struct dev_pm_ops should normally 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>
上级 98505ff9
......@@ -570,7 +570,7 @@ static int mt9t031_runtime_resume(struct device *dev)
return 0;
}
static struct dev_pm_ops mt9t031_dev_pm_ops = {
static const struct dev_pm_ops mt9t031_dev_pm_ops = {
.runtime_suspend = mt9t031_runtime_suspend,
.runtime_resume = mt9t031_runtime_resume,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册