diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-04-03 07:00:39 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-05 00:50:48 +0200 |
commit | 56a49194048d00b127711d2f1f557cf3e4b5fece (patch) | |
tree | f4cdfc9a8574ef3baf67be89e07eecf47241da79 | |
parent | [media] soc_camera/pxa_camera: Fix warning related to spacing (diff) | |
download | linux-56a49194048d00b127711d2f1f557cf3e4b5fece.tar.xz linux-56a49194048d00b127711d2f1f557cf3e4b5fece.zip |
[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>
-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 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, }; |