diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-12-14 21:00:08 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-15 11:53:25 -0500 |
commit | 471452104b8520337ae2fb48c4e61cd4896e025d (patch) | |
tree | 8594ae4a8362014e3cccf72a4e8834cdbb610bdd /drivers/media | |
parent | 0ead0f84e81a41c3e98aeceab04af8ab1bb08d1f (diff) |
const: constify remaining dev_pm_ops
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/davinci/vpfe_capture.c | 2 | ||||
-rw-r--r-- | drivers/media/video/davinci/vpif_capture.c | 2 | ||||
-rw-r--r-- | drivers/media/video/sh_mobile_ceu_camera.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/davinci/vpfe_capture.c b/drivers/media/video/davinci/vpfe_capture.c index 12a1b3d7132d..c3916a42668e 100644 --- a/drivers/media/video/davinci/vpfe_capture.c +++ b/drivers/media/video/davinci/vpfe_capture.c | |||
@@ -2127,7 +2127,7 @@ vpfe_resume(struct device *dev) | |||
2127 | return -1; | 2127 | return -1; |
2128 | } | 2128 | } |
2129 | 2129 | ||
2130 | static struct dev_pm_ops vpfe_dev_pm_ops = { | 2130 | static const struct dev_pm_ops vpfe_dev_pm_ops = { |
2131 | .suspend = vpfe_suspend, | 2131 | .suspend = vpfe_suspend, |
2132 | .resume = vpfe_resume, | 2132 | .resume = vpfe_resume, |
2133 | }; | 2133 | }; |
diff --git a/drivers/media/video/davinci/vpif_capture.c b/drivers/media/video/davinci/vpif_capture.c index d947ee5e4eb4..78130721f578 100644 --- a/drivers/media/video/davinci/vpif_capture.c +++ b/drivers/media/video/davinci/vpif_capture.c | |||
@@ -2107,7 +2107,7 @@ vpif_resume(struct device *dev) | |||
2107 | return -1; | 2107 | return -1; |
2108 | } | 2108 | } |
2109 | 2109 | ||
2110 | static struct dev_pm_ops vpif_dev_pm_ops = { | 2110 | static const struct dev_pm_ops vpif_dev_pm_ops = { |
2111 | .suspend = vpif_suspend, | 2111 | .suspend = vpif_suspend, |
2112 | .resume = vpif_resume, | 2112 | .resume = vpif_resume, |
2113 | }; | 2113 | }; |
diff --git a/drivers/media/video/sh_mobile_ceu_camera.c b/drivers/media/video/sh_mobile_ceu_camera.c index a4f3472d4db8..961e4484d721 100644 --- a/drivers/media/video/sh_mobile_ceu_camera.c +++ b/drivers/media/video/sh_mobile_ceu_camera.c | |||
@@ -1825,7 +1825,7 @@ static int sh_mobile_ceu_runtime_nop(struct device *dev) | |||
1825 | return 0; | 1825 | return 0; |
1826 | } | 1826 | } |
1827 | 1827 | ||
1828 | static struct dev_pm_ops sh_mobile_ceu_dev_pm_ops = { | 1828 | static const struct dev_pm_ops sh_mobile_ceu_dev_pm_ops = { |
1829 | .runtime_suspend = sh_mobile_ceu_runtime_nop, | 1829 | .runtime_suspend = sh_mobile_ceu_runtime_nop, |
1830 | .runtime_resume = sh_mobile_ceu_runtime_nop, | 1830 | .runtime_resume = sh_mobile_ceu_runtime_nop, |
1831 | }; | 1831 | }; |