aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ibmmca.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/ibmmca.c
parentc0ed79a331caa68ac027dd6afc02bb5b58ef2798 (diff)
[SCSI] remove Scsi_Host_Template typedef
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ibmmca.c')
-rw-r--r--drivers/scsi/ibmmca.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/ibmmca.c b/drivers/scsi/ibmmca.c
index 887a5c3ded28..05ecc911e94c 100644
--- a/drivers/scsi/ibmmca.c
+++ b/drivers/scsi/ibmmca.c
@@ -498,7 +498,7 @@ static char *ibmrate(unsigned int, int);
498static int probe_display(int); 498static int probe_display(int);
499static int probe_bus_mode(int); 499static int probe_bus_mode(int);
500static int device_exists(int, int, int *, int *); 500static int device_exists(int, int, int *, int *);
501static struct Scsi_Host *ibmmca_register(Scsi_Host_Template *, int, int, int, char *); 501static struct Scsi_Host *ibmmca_register(struct scsi_host_template *, int, int, int, char *);
502static int option_setup(char *); 502static int option_setup(char *);
503/* local functions needed for proc_info */ 503/* local functions needed for proc_info */
504static int ldn_access_load(int, int); 504static int ldn_access_load(int, int);
@@ -1489,7 +1489,7 @@ static int ibmmca_getinfo(char *buf, int slot, void *dev_id)
1489 return len; 1489 return len;
1490} 1490}
1491 1491
1492int ibmmca_detect(Scsi_Host_Template * scsi_template) 1492int ibmmca_detect(struct scsi_host_template * scsi_template)
1493{ 1493{
1494 struct Scsi_Host *shpnt; 1494 struct Scsi_Host *shpnt;
1495 int port, id, i, j, k, list_size, slot; 1495 int port, id, i, j, k, list_size, slot;
@@ -1742,7 +1742,7 @@ int ibmmca_detect(Scsi_Host_Template * scsi_template)
1742 return found; /* return the number of found SCSI hosts. Should be 1 or 0. */ 1742 return found; /* return the number of found SCSI hosts. Should be 1 or 0. */
1743} 1743}
1744 1744
1745static struct Scsi_Host *ibmmca_register(Scsi_Host_Template * scsi_template, int port, int id, int adaptertype, char *hostname) 1745static struct Scsi_Host *ibmmca_register(struct scsi_host_template * scsi_template, int port, int id, int adaptertype, char *hostname)
1746{ 1746{
1747 struct Scsi_Host *shpnt; 1747 struct Scsi_Host *shpnt;
1748 int i, j; 1748 int i, j;
@@ -2500,7 +2500,7 @@ static int option_setup(char *str)
2500 2500
2501__setup("ibmmcascsi=", option_setup); 2501__setup("ibmmcascsi=", option_setup);
2502 2502
2503static Scsi_Host_Template driver_template = { 2503static struct scsi_host_template driver_template = {
2504 .proc_name = "ibmmca", 2504 .proc_name = "ibmmca",
2505 .proc_info = ibmmca_proc_info, 2505 .proc_info = ibmmca_proc_info,
2506 .name = "IBM SCSI-Subsystem", 2506 .name = "IBM SCSI-Subsystem",