diff options
Diffstat (limited to 'drivers/scsi/g_NCR5380.c')
-rw-r--r-- | drivers/scsi/g_NCR5380.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/g_NCR5380.c b/drivers/scsi/g_NCR5380.c index a3aa729b9d3c..45756fa90777 100644 --- a/drivers/scsi/g_NCR5380.c +++ b/drivers/scsi/g_NCR5380.c | |||
@@ -285,7 +285,7 @@ static int __init do_DTC3181E_setup(char *str) | |||
285 | * Locks: none | 285 | * Locks: none |
286 | */ | 286 | */ |
287 | 287 | ||
288 | int __init generic_NCR5380_detect(Scsi_Host_Template * tpnt) | 288 | int __init generic_NCR5380_detect(struct scsi_host_template * tpnt) |
289 | { | 289 | { |
290 | static int current_override = 0; | 290 | static int current_override = 0; |
291 | int count, i; | 291 | int count, i; |
@@ -798,7 +798,7 @@ static int generic_NCR5380_proc_info(struct Scsi_Host *scsi_ptr, char *buffer, c | |||
798 | Scsi_Cmnd *ptr; | 798 | Scsi_Cmnd *ptr; |
799 | struct NCR5380_hostdata *hostdata; | 799 | struct NCR5380_hostdata *hostdata; |
800 | #ifdef NCR5380_STATS | 800 | #ifdef NCR5380_STATS |
801 | Scsi_Device *dev; | 801 | struct scsi_device *dev; |
802 | extern const char *const scsi_device_types[MAX_SCSI_DEVICE_CODE]; | 802 | extern const char *const scsi_device_types[MAX_SCSI_DEVICE_CODE]; |
803 | #endif | 803 | #endif |
804 | 804 | ||
@@ -899,7 +899,7 @@ static int generic_NCR5380_proc_info(struct Scsi_Host *scsi_ptr, char *buffer, c | |||
899 | #undef PRINTP | 899 | #undef PRINTP |
900 | #undef ANDP | 900 | #undef ANDP |
901 | 901 | ||
902 | static Scsi_Host_Template driver_template = { | 902 | static struct scsi_host_template driver_template = { |
903 | .proc_info = generic_NCR5380_proc_info, | 903 | .proc_info = generic_NCR5380_proc_info, |
904 | .name = "Generic NCR5380/NCR53C400 Scsi Driver", | 904 | .name = "Generic NCR5380/NCR53C400 Scsi Driver", |
905 | .detect = generic_NCR5380_detect, | 905 | .detect = generic_NCR5380_detect, |