diff options
author | 2017-06-29 13:24:41 +0530 | |
---|---|---|
committer | 2017-07-01 17:05:22 -0400 | |
commit | e4a80c31f2e863295cb2351f23ae486b0513a705 (patch) | |
tree | 7f3d96b1c3d6fb2c526f2883297bdec834ec03f4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: ibmvscsi: constify dev_pm_ops structures. (diff) | |
download | wireguard-linux-e4a80c31f2e863295cb2351f23ae486b0513a705.tar.xz wireguard-linux-e4a80c31f2e863295cb2351f23ae486b0513a705.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions