linux/drivers/scsi/ibmvscsi
Arvind Yadav e4a80c31f2 scsi: ibmvfc: constify dev_pm_ops structures.
dev_pm_ops are not supposed to change at runtime. All functions
working with dev_pm_ops provided by <linux/device.h> work with const
dev_pm_ops. So mark the non-const structs as const.

File size before:
   text	   data	    bss	    dec	    hex	filename
  41937	   1296	     20	  43253	   a8f5	drivers/scsi/ibmvscsi/ibmvfc.o

File size After adding 'const':
   text	   data	    bss	    dec	    hex	filename
  42129	   1104	     20	  43253	   a8f5	drivers/scsi/ibmvscsi/ibmvfc.o

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-07-01 17:05:22 -04:00
..
Makefile ibmvstgt: remove 2014-07-17 22:07:43 +02:00
ibmvfc.c scsi: ibmvfc: constify dev_pm_ops structures. 2017-07-01 17:05:22 -04:00
ibmvfc.h scsi: ibmvfc: add FC Class 3 Error Recovery support 2016-08-25 23:39:26 -04:00
ibmvscsi.c scsi: ibmvscsi: constify dev_pm_ops structures. 2017-07-01 17:04:41 -04:00
ibmvscsi.h scsi: ibmvscsi: add vscsi hosts to global list_head 2016-12-08 17:02:01 -05:00