summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_priv.h
diff options
context:
space:
mode:
authorJames Bottomley <jejb@titanic.(none)>2005-12-01 21:50:13 +0300
committerJames Bottomley <jejb@titanic.(none)>2005-12-14 04:12:05 +0300
commit7f23e146a122966bd58e5da9c16a0e12385f09fc (patch)
tree0d478b2724611e794f8f32d732775018c586fc6d /drivers/scsi/scsi_priv.h
parent8a47cd340b4a299087f926ff2780d1eb08513f04 (diff)
downloadlinux-7f23e146a122966bd58e5da9c16a0e12385f09fc.tar.xz
[SCSI] correct some dropped const compiler warnings
Make the vendor, model and rev fields in scsi_device pointers to const and update a few prototypes of functions using them. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_priv.h')
-rw-r--r--drivers/scsi/scsi_priv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h
index d632d9e1493c..a8d121c8fbcd 100644
--- a/drivers/scsi/scsi_priv.h
+++ b/drivers/scsi/scsi_priv.h
@@ -57,7 +57,8 @@ static inline void scsi_log_completion(struct scsi_cmnd *cmd, int disposition)
/* scsi_devinfo.c */
extern int scsi_get_device_flags(struct scsi_device *sdev,
- unsigned char *vendor, unsigned char *model);
+ const unsigned char *vendor,
+ const unsigned char *model);
extern int __init scsi_init_devinfo(void);
extern void scsi_exit_devinfo(void);