summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_lib.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-07-30 14:10:32 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-24 22:28:52 -0400
commitfe083323bb7ee56b69dacdd2e5d8469be95a8f12 (patch)
treefa4c344452143a5e10d57a6a8f0e7f78b21d55d1 /drivers/scsi/scsi_lib.c
parent582b0ab200105b06704cef6da814fbde4c2ca00b (diff)
downloadlinux-fe083323bb7ee56b69dacdd2e5d8469be95a8f12.tar.gz
linux-fe083323bb7ee56b69dacdd2e5d8469be95a8f12.tar.xz
scsi: esas2r: constify pci_device_id.
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by <linux/pci.h> work with const pci_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Acked-by: Bradley Grove <bgrove@attotech.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
0 files changed, 0 insertions, 0 deletions