[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>
This commit is contained in:
parent
6003b2add5
commit
56a4919404
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user