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/sun3_scsi_vme.c | |
parent | c0ed79a331caa68ac027dd6afc02bb5b58ef2798 (diff) |
[SCSI] remove Scsi_Host_Template typedef
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sun3_scsi_vme.c')
-rw-r--r-- | drivers/scsi/sun3_scsi_vme.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/sun3_scsi_vme.c b/drivers/scsi/sun3_scsi_vme.c index 9acb5ddebb07..008a82ab8521 100644 --- a/drivers/scsi/sun3_scsi_vme.c +++ b/drivers/scsi/sun3_scsi_vme.c | |||
@@ -127,7 +127,7 @@ static inline void sun3scsi_write(int reg, int value) | |||
127 | static struct Scsi_Host *default_instance; | 127 | static struct Scsi_Host *default_instance; |
128 | 128 | ||
129 | /* | 129 | /* |
130 | * Function : int sun3scsi_detect(Scsi_Host_Template * tpnt) | 130 | * Function : int sun3scsi_detect(struct scsi_host_template * tpnt) |
131 | * | 131 | * |
132 | * Purpose : initializes mac NCR5380 driver based on the | 132 | * Purpose : initializes mac NCR5380 driver based on the |
133 | * command line / compile time port and irq definitions. | 133 | * command line / compile time port and irq definitions. |
@@ -138,7 +138,7 @@ static struct Scsi_Host *default_instance; | |||
138 | * | 138 | * |
139 | */ | 139 | */ |
140 | 140 | ||
141 | static int sun3scsi_detect(Scsi_Host_Template * tpnt) | 141 | static int sun3scsi_detect(struct scsi_host_template * tpnt) |
142 | { | 142 | { |
143 | unsigned long ioaddr, irq = 0; | 143 | unsigned long ioaddr, irq = 0; |
144 | static int called = 0; | 144 | static int called = 0; |
@@ -564,7 +564,7 @@ static int sun3scsi_dma_finish(int write_flag) | |||
564 | 564 | ||
565 | #include "sun3_NCR5380.c" | 565 | #include "sun3_NCR5380.c" |
566 | 566 | ||
567 | static Scsi_Host_Template driver_template = { | 567 | static struct scsi_host_template driver_template = { |
568 | .name = SUN3_SCSI_NAME, | 568 | .name = SUN3_SCSI_NAME, |
569 | .detect = sun3scsi_detect, | 569 | .detect = sun3scsi_detect, |
570 | .release = sun3scsi_release, | 570 | .release = sun3scsi_release, |