diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-04-03 02:00:39 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-04 19:50:48 -0300 |
commit | 56a49194048d00b127711d2f1f557cf3e4b5fece (patch) | |
tree | f4cdfc9a8574ef3baf67be89e07eecf47241da79 /drivers/media/platform/soc_camera | |
parent | 6003b2add51e26f7831bba918a8e710ddc86a2d8 (diff) | |
download | op-kernel-dev-56a49194048d00b127711d2f1f557cf3e4b5fece.zip op-kernel-dev-56a49194048d00b127711d2f1f557cf3e4b5fece.tar.gz |
[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')
-rw-r--r-- | drivers/media/platform/soc_camera/pxa_camera.c | 2 |
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 b0e6f3b..d665242 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, }; |