aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/amiga7xx.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-10-31 12:31:40 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2005-11-09 15:44:09 -0500
commitd0be4a7d29ad0bd3ce2209dd9e46d410b632db59 (patch)
treea76b11820f03826b1a32b8e9117eb57e19874776 /drivers/scsi/amiga7xx.c
parentc0ed79a331caa68ac027dd6afc02bb5b58ef2798 (diff)
[SCSI] remove Scsi_Host_Template typedef
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/amiga7xx.c')
-rw-r--r--drivers/scsi/amiga7xx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/amiga7xx.c b/drivers/scsi/amiga7xx.c
index 5f13546d6392..e02db80cab33 100644
--- a/drivers/scsi/amiga7xx.c
+++ b/drivers/scsi/amiga7xx.c
@@ -30,7 +30,7 @@
30#include "amiga7xx.h" 30#include "amiga7xx.h"
31 31
32 32
33static int amiga7xx_register_one(Scsi_Host_Template *tpnt, 33static int amiga7xx_register_one(struct scsi_host_template *tpnt,
34 unsigned long address) 34 unsigned long address)
35{ 35{
36 long long options; 36 long long options;
@@ -66,7 +66,7 @@ static struct {
66 { 0 } 66 { 0 }
67}; 67};
68 68
69static int __init amiga7xx_zorro_detect(Scsi_Host_Template *tpnt) 69static int __init amiga7xx_zorro_detect(struct scsi_host_template *tpnt)
70{ 70{
71 int num = 0, i; 71 int num = 0, i;
72 struct zorro_dev *z = NULL; 72 struct zorro_dev *z = NULL;
@@ -90,7 +90,7 @@ static int __init amiga7xx_zorro_detect(Scsi_Host_Template *tpnt)
90#endif /* CONFIG_ZORRO */ 90#endif /* CONFIG_ZORRO */
91 91
92 92
93int __init amiga7xx_detect(Scsi_Host_Template *tpnt) 93int __init amiga7xx_detect(struct scsi_host_template *tpnt)
94{ 94{
95 static unsigned char called = 0; 95 static unsigned char called = 0;
96 int num = 0; 96 int num = 0;
@@ -123,7 +123,7 @@ static int amiga7xx_release(struct Scsi_Host *shost)
123 return 0; 123 return 0;
124} 124}
125 125
126static Scsi_Host_Template driver_template = { 126static struct scsi_host_template driver_template = {
127 .name = "Amiga NCR53c710 SCSI", 127 .name = "Amiga NCR53c710 SCSI",
128 .detect = amiga7xx_detect, 128 .detect = amiga7xx_detect,
129 .release = amiga7xx_release, 129 .release = amiga7xx_release,