diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-06-29 09:43:55 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-07-01 23:04:41 +0200 |
commit | e6b53a752ba76e1268b04052c9ec06555e3f6995 (patch) | |
tree | d95ae068860fd63f63109d2318fcb766f4813425 /net/tipc/netlink.h | |
parent | scsi: cxlflash: Update debug prints in reset handlers (diff) | |
download | linux-e6b53a752ba76e1268b04052c9ec06555e3f6995.tar.xz linux-e6b53a752ba76e1268b04052c9ec06555e3f6995.zip |
scsi: ibmvscsi: 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
17956 1456 8 19420 4bdc drivers/scsi/ibmvscsi/ibmvscsi.o
File size After adding 'const':
text data bss dec hex filename
18164 1264 8 19436 4bec drivers/scsi/ibmvscsi/ibmvscsi.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 'net/tipc/netlink.h')
0 files changed, 0 insertions, 0 deletions