aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/sr_vendor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/sr_vendor.c b/drivers/scsi/sr_vendor.c
index 78274dc91f5c..9dde8df2f5c9 100644
--- a/drivers/scsi/sr_vendor.c
+++ b/drivers/scsi/sr_vendor.c
@@ -68,8 +68,8 @@ void sr_vendor_init(Scsi_CD *cd)
68#ifndef CONFIG_BLK_DEV_SR_VENDOR 68#ifndef CONFIG_BLK_DEV_SR_VENDOR
69 cd->vendor = VENDOR_SCSI3; 69 cd->vendor = VENDOR_SCSI3;
70#else 70#else
71 char *vendor = cd->device->vendor; 71 const char *vendor = cd->device->vendor;
72 char *model = cd->device->model; 72 const char *model = cd->device->model;
73 73
74 /* default */ 74 /* default */
75 cd->vendor = VENDOR_SCSI3; 75 cd->vendor = VENDOR_SCSI3;