aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_devinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi_devinfo.c')
-rw-r--r--drivers/scsi/scsi_devinfo.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c
index e69477d1889b..f01ec0a7c506 100644
--- a/drivers/scsi/scsi_devinfo.c
+++ b/drivers/scsi/scsi_devinfo.c
@@ -354,8 +354,9 @@ static int scsi_dev_info_list_add_str(char *dev_list)
354 * @model, if found, return the matching flags value, else return 354 * @model, if found, return the matching flags value, else return
355 * the host or global default settings. 355 * the host or global default settings.
356 **/ 356 **/
357int scsi_get_device_flags(struct scsi_device *sdev, unsigned char *vendor, 357int scsi_get_device_flags(struct scsi_device *sdev,
358 unsigned char *model) 358 const unsigned char *vendor,
359 const unsigned char *model)
359{ 360{
360 struct scsi_dev_info_list *devinfo; 361 struct scsi_dev_info_list *devinfo;
361 unsigned int bflags; 362 unsigned int bflags;