scsi: sr: constify sr_pm_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 28 Aug 2016 20:17:38 +0000 (22:17 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 4 Sep 2016 05:28:08 +0000 (01:28 -0400)
commita816b4c67ae68a36a8775484b09ad727e4a28e3d
tree2fa4bedaf11bab7b2fc0881643c06181e34e8fef
parent61b96d5b68a5aa58351a461cae81117ca9744069
scsi: sr: constify sr_pm_ops structure

sr_pm_ops, of type struct dev_pm_ops, is never modified, so declare it
as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sr.c