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/qla1280.c | |
parent | c0ed79a331caa68ac027dd6afc02bb5b58ef2798 (diff) |
[SCSI] remove Scsi_Host_Template typedef
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla1280.c')
-rw-r--r-- | drivers/scsi/qla1280.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c index cc7593b97def..0878f95b5449 100644 --- a/drivers/scsi/qla1280.c +++ b/drivers/scsi/qla1280.c | |||
@@ -465,7 +465,7 @@ scsi_adjust_queue_depth(struct scsi_device *device, int tag, int depth) | |||
465 | } | 465 | } |
466 | device->queue_depth = depth; | 466 | device->queue_depth = depth; |
467 | } | 467 | } |
468 | static inline struct Scsi_Host *scsi_host_alloc(Scsi_Host_Template *t, size_t s) | 468 | static inline struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *t, size_t s) |
469 | { | 469 | { |
470 | return scsi_register(t, s); | 470 | return scsi_register(t, s); |
471 | } | 471 | } |
@@ -1175,7 +1175,7 @@ qla1280_biosparam(struct scsi_device *sdev, struct block_device *bdev, | |||
1175 | 1175 | ||
1176 | #if LINUX_VERSION_CODE < 0x020600 | 1176 | #if LINUX_VERSION_CODE < 0x020600 |
1177 | static int | 1177 | static int |
1178 | qla1280_detect(Scsi_Host_Template *template) | 1178 | qla1280_detect(struct scsi_host_template *template) |
1179 | { | 1179 | { |
1180 | struct pci_device_id *id = &qla1280_pci_tbl[0]; | 1180 | struct pci_device_id *id = &qla1280_pci_tbl[0]; |
1181 | struct pci_dev *pdev = NULL; | 1181 | struct pci_dev *pdev = NULL; |
@@ -4505,7 +4505,7 @@ static struct scsi_host_template qla1280_driver_template = { | |||
4505 | .use_clustering = ENABLE_CLUSTERING, | 4505 | .use_clustering = ENABLE_CLUSTERING, |
4506 | }; | 4506 | }; |
4507 | #else | 4507 | #else |
4508 | static Scsi_Host_Template qla1280_driver_template = { | 4508 | static struct scsi_host_template qla1280_driver_template = { |
4509 | .proc_name = "qla1280", | 4509 | .proc_name = "qla1280", |
4510 | .name = "Qlogic ISP 1280/12160", | 4510 | .name = "Qlogic ISP 1280/12160", |
4511 | .detect = qla1280_detect, | 4511 | .detect = qla1280_detect, |