scsi: ncr5380: constify pnp_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 16 Aug 2017 04:58:40 +0000 (10:28 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 02:29:05 +0000 (22:29 -0400)
commit60747936bd5c0f7de2179f7076fe89ad93675680
tree3d50c3d4789b31701295172a398d333f64ab059b
parentb7fa2cbda560655df58c418880013a1ed9e01e17
scsi: ncr5380: constify pnp_device_id

pnp_device_id are not supposed to change at runtime. All functions
working with pnp_device_id provided by <linux/pnp.h> work with const
pnp_device_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/g_NCR5380.c