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/ultrastor.c | |
parent | c0ed79a331caa68ac027dd6afc02bb5b58ef2798 (diff) |
[SCSI] remove Scsi_Host_Template typedef
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ultrastor.c')
-rw-r--r-- | drivers/scsi/ultrastor.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/ultrastor.c b/drivers/scsi/ultrastor.c index 486551bd54ba..e681681ab7a2 100644 --- a/drivers/scsi/ultrastor.c +++ b/drivers/scsi/ultrastor.c | |||
@@ -343,7 +343,7 @@ static void log_ultrastor_abort(struct ultrastor_config *config, | |||
343 | } | 343 | } |
344 | #endif | 344 | #endif |
345 | 345 | ||
346 | static int ultrastor_14f_detect(Scsi_Host_Template * tpnt) | 346 | static int ultrastor_14f_detect(struct scsi_host_template * tpnt) |
347 | { | 347 | { |
348 | size_t i; | 348 | size_t i; |
349 | unsigned char in_byte, version_byte = 0; | 349 | unsigned char in_byte, version_byte = 0; |
@@ -525,7 +525,7 @@ out_release_port: | |||
525 | return FALSE; | 525 | return FALSE; |
526 | } | 526 | } |
527 | 527 | ||
528 | static int ultrastor_24f_detect(Scsi_Host_Template * tpnt) | 528 | static int ultrastor_24f_detect(struct scsi_host_template * tpnt) |
529 | { | 529 | { |
530 | int i; | 530 | int i; |
531 | struct Scsi_Host * shpnt = NULL; | 531 | struct Scsi_Host * shpnt = NULL; |
@@ -637,7 +637,7 @@ static int ultrastor_24f_detect(Scsi_Host_Template * tpnt) | |||
637 | return FALSE; | 637 | return FALSE; |
638 | } | 638 | } |
639 | 639 | ||
640 | static int ultrastor_detect(Scsi_Host_Template * tpnt) | 640 | static int ultrastor_detect(struct scsi_host_template * tpnt) |
641 | { | 641 | { |
642 | tpnt->proc_name = "ultrastor"; | 642 | tpnt->proc_name = "ultrastor"; |
643 | return ultrastor_14f_detect(tpnt) || ultrastor_24f_detect(tpnt); | 643 | return ultrastor_14f_detect(tpnt) || ultrastor_24f_detect(tpnt); |
@@ -1184,7 +1184,7 @@ static irqreturn_t do_ultrastor_interrupt(int irq, void *dev_id, | |||
1184 | 1184 | ||
1185 | MODULE_LICENSE("GPL"); | 1185 | MODULE_LICENSE("GPL"); |
1186 | 1186 | ||
1187 | static Scsi_Host_Template driver_template = { | 1187 | static struct scsi_host_template driver_template = { |
1188 | .name = "UltraStor 14F/24F/34F", | 1188 | .name = "UltraStor 14F/24F/34F", |
1189 | .detect = ultrastor_detect, | 1189 | .detect = ultrastor_detect, |
1190 | .release = ultrastor_release, | 1190 | .release = ultrastor_release, |