diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-04-30 05:29:08 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-21 12:10:09 -0400 |
commit | cbdb1f9db40d2131c00430d2638530b711af89e2 (patch) | |
tree | a6890c0cab76118b15e812dfa8d7905c56de3bd7 | |
parent | 98505ff9f2fa1a1b33d90d39ab76a54a3b189ee2 (diff) |
[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>
-rw-r--r-- | drivers/media/i2c/soc_camera/mt9t031.c | 2 |
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) | |||
570 | return 0; | 570 | return 0; |
571 | } | 571 | } |
572 | 572 | ||
573 | static struct dev_pm_ops mt9t031_dev_pm_ops = { | 573 | static const struct dev_pm_ops mt9t031_dev_pm_ops = { |
574 | .runtime_suspend = mt9t031_runtime_suspend, | 574 | .runtime_suspend = mt9t031_runtime_suspend, |
575 | .runtime_resume = mt9t031_runtime_resume, | 575 | .runtime_resume = mt9t031_runtime_resume, |
576 | }; | 576 | }; |