summaryrefslogtreecommitdiff
path: root/drivers/media/platform/soc_camera/pxa_camera.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-04-03 02:00:39 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-04 19:50:48 -0300
commit56a49194048d00b127711d2f1f557cf3e4b5fece (patch)
treef4cdfc9a8574ef3baf67be89e07eecf47241da79 /drivers/media/platform/soc_camera/pxa_camera.c
parent6003b2add51e26f7831bba918a8e710ddc86a2d8 (diff)
[media] soc_camera/pxa_camera: Constify struct dev_pm_ops
struct dev_pm_ops should 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/platform/soc_camera/pxa_camera.c')
-rw-r--r--drivers/media/platform/soc_camera/pxa_camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/soc_camera/pxa_camera.c b/drivers/media/platform/soc_camera/pxa_camera.c
index b0e6f3bc0264..d665242e8207 100644
--- a/drivers/media/platform/soc_camera/pxa_camera.c
+++ b/drivers/media/platform/soc_camera/pxa_camera.c
@@ -1796,7 +1796,7 @@ static int pxa_camera_remove(struct platform_device *pdev)
return 0;
}
-static struct dev_pm_ops pxa_camera_pm = {
+static const struct dev_pm_ops pxa_camera_pm = {
.suspend = pxa_camera_suspend,
.resume = pxa_camera_resume,
};