aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/soc_camera
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-04-30 06:29:08 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-21 13:10:09 -0300
commitcbdb1f9db40d2131c00430d2638530b711af89e2 (patch)
treea6890c0cab76118b15e812dfa8d7905c56de3bd7 /drivers/media/i2c/soc_camera
parent[media] soc-camera: remove two unused configs (diff)
downloadlinux-dev-cbdb1f9db40d2131c00430d2638530b711af89e2.tar.xz
linux-dev-cbdb1f9db40d2131c00430d2638530b711af89e2.zip
[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>
Diffstat (limited to 'drivers/media/i2c/soc_camera')
-rw-r--r--drivers/media/i2c/soc_camera/mt9t031.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/soc_camera/mt9t031.c b/drivers/media/i2c/soc_camera/mt9t031.c
index 8f71c9a02cf0..b3dfeb6d1037 100644
--- a/drivers/media/i2c/soc_camera/mt9t031.c
+++ b/drivers/media/i2c/soc_camera/mt9t031.c
@@ -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,
};