diff options
author | Matthew Wilcox <matthew@wil.cx> | 2005-12-17 04:11:37 (GMT) |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-12-17 16:50:23 (GMT) |
commit | 7b32b8e018d8f8cc94c808a5fa84a3f889441b91 (patch) | |
tree | afe4f0d68258bd7beac1ad3f3f1c09ba195bf096 /drivers | |
parent | 19c65091c133a98b20d867c94b1b1380a79e4b81 (diff) | |
download | linux-fsl-qoriq-7b32b8e018d8f8cc94c808a5fa84a3f889441b91.tar.xz |
[SCSI] Missing const in sr_vendor
Fix compile warnings with current scsi-misc git tree
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/sr_vendor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/sr_vendor.c b/drivers/scsi/sr_vendor.c index 78274dc..9dde8df 100644 --- a/drivers/scsi/sr_vendor.c +++ b/drivers/scsi/sr_vendor.c @@ -68,8 +68,8 @@ void sr_vendor_init(Scsi_CD *cd) #ifndef CONFIG_BLK_DEV_SR_VENDOR cd->vendor = VENDOR_SCSI3; #else - char *vendor = cd->device->vendor; - char *model = cd->device->model; + const char *vendor = cd->device->vendor; + const char *model = cd->device->model; /* default */ cd->vendor = VENDOR_SCSI3; |