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/ibmmca.c | |
parent | c0ed79a331caa68ac027dd6afc02bb5b58ef2798 (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.c | 8 |
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); | |||
498 | static int probe_display(int); | 498 | static int probe_display(int); |
499 | static int probe_bus_mode(int); | 499 | static int probe_bus_mode(int); |
500 | static int device_exists(int, int, int *, int *); | 500 | static int device_exists(int, int, int *, int *); |
501 | static struct Scsi_Host *ibmmca_register(Scsi_Host_Template *, int, int, int, char *); | 501 | static struct Scsi_Host *ibmmca_register(struct scsi_host_template *, int, int, int, char *); |
502 | static int option_setup(char *); | 502 | static int option_setup(char *); |
503 | /* local functions needed for proc_info */ | 503 | /* local functions needed for proc_info */ |
504 | static int ldn_access_load(int, int); | 504 | static 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 | ||
1492 | int ibmmca_detect(Scsi_Host_Template * scsi_template) | 1492 | int 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 | ||
1745 | static struct Scsi_Host *ibmmca_register(Scsi_Host_Template * scsi_template, int port, int id, int adaptertype, char *hostname) | 1745 | static 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 | ||
2503 | static Scsi_Host_Template driver_template = { | 2503 | static 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", |