[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
1 changed files with 1 additions and 1 deletions
|
@ -1796,7 +1796,7 @@ static int pxa_camera_remove(struct platform_device *pdev)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct dev_pm_ops pxa_camera_pm = {
|
static const struct dev_pm_ops pxa_camera_pm = {
|
||||||
.suspend = pxa_camera_suspend,
|
.suspend = pxa_camera_suspend,
|
||||||
.resume = pxa_camera_resume,
|
.resume = pxa_camera_resume,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue