mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
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 <[email protected]> Acked-by: Tyrel Datwyler <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>