scsi: make device_type const
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 19 Aug 2017 08:22:24 +0000 (13:52 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 21:29:29 +0000 (17:29 -0400)
commit7988faf525498170aff8a11005de50a3bc589ba4
tree2b28945d9cabf8007b803e50a366a54084cd0f54
parent5f800c87dadf0857b31ccb6217d6d42d4c1fe157
scsi: make device_type const

Make these const as they are only stored in the type field of a device
structure, which is const.
Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fcoe/fcoe_sysfs.c
drivers/scsi/scsi_transport_iscsi.c