[media] soc_camera: Constify dev_pm_ops in mt9t031.c
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 30 Apr 2013 09:29:08 +0000 (06:29 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Jun 2013 16:10:09 +0000 (13:10 -0300)
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>
drivers/media/i2c/soc_camera/mt9t031.c

index 8f71c9a02cf0a7c7116bffe1742b6fe1f4ef6c9e..b3dfeb6d1037cf86ed94e22a4f92ab394e71ae2f 100644 (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,
 };