[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: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Sachin Kamat 2013-04-30 06:29:08 -03:00 committed by Mauro Carvalho Chehab
parent 98505ff9f2
commit cbdb1f9db4
1 changed files with 1 additions and 1 deletions

View File

@ -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,
};