diff options
author | Christoph Hellwig <hch@lst.de> | 2005-10-31 12:31:40 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-11-09 15:44:09 -0500 |
commit | d0be4a7d29ad0bd3ce2209dd9e46d410b632db59 (patch) | |
tree | a76b11820f03826b1a32b8e9117eb57e19874776 /drivers/scsi/mac_scsi.c | |
parent | c0ed79a331caa68ac027dd6afc02bb5b58ef2798 (diff) |
[SCSI] remove Scsi_Host_Template typedef
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/mac_scsi.c')
-rw-r--r-- | drivers/scsi/mac_scsi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/mac_scsi.c b/drivers/scsi/mac_scsi.c index 92d2c8379abf..777f9bcd1179 100644 --- a/drivers/scsi/mac_scsi.c +++ b/drivers/scsi/mac_scsi.c | |||
@@ -222,7 +222,7 @@ static struct Scsi_Host *default_instance; | |||
222 | #endif | 222 | #endif |
223 | 223 | ||
224 | /* | 224 | /* |
225 | * Function : int macscsi_detect(Scsi_Host_Template * tpnt) | 225 | * Function : int macscsi_detect(struct scsi_host_template * tpnt) |
226 | * | 226 | * |
227 | * Purpose : initializes mac NCR5380 driver based on the | 227 | * Purpose : initializes mac NCR5380 driver based on the |
228 | * command line / compile time port and irq definitions. | 228 | * command line / compile time port and irq definitions. |
@@ -233,7 +233,7 @@ static struct Scsi_Host *default_instance; | |||
233 | * | 233 | * |
234 | */ | 234 | */ |
235 | 235 | ||
236 | int macscsi_detect(Scsi_Host_Template * tpnt) | 236 | int macscsi_detect(struct scsi_host_template * tpnt) |
237 | { | 237 | { |
238 | static int called = 0; | 238 | static int called = 0; |
239 | int flags = 0; | 239 | int flags = 0; |
@@ -581,7 +581,7 @@ static int macscsi_pwrite (struct Scsi_Host *instance, | |||
581 | 581 | ||
582 | #include "NCR5380.c" | 582 | #include "NCR5380.c" |
583 | 583 | ||
584 | static Scsi_Host_Template driver_template = { | 584 | static struct scsi_host_template driver_template = { |
585 | .proc_name = "Mac5380", | 585 | .proc_name = "Mac5380", |
586 | .proc_info = macscsi_proc_info, | 586 | .proc_info = macscsi_proc_info, |
587 | .name = "Macintosh NCR5380 SCSI", | 587 | .name = "Macintosh NCR5380 SCSI", |