scsi: esas2r: constify pci_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sun, 30 Jul 2017 08:40:32 +0000 (14:10 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 02:28:52 +0000 (22:28 -0400)
commitfe083323bb7ee56b69dacdd2e5d8469be95a8f12
treefa4c344452143a5e10d57a6a8f0e7f78b21d55d1
parent582b0ab200105b06704cef6da814fbde4c2ca00b
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>
drivers/scsi/esas2r/esas2r_main.c