diff options
Diffstat (limited to 'drivers/scsi/pluto.c')
-rw-r--r-- | drivers/scsi/pluto.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/pluto.c b/drivers/scsi/pluto.c index c89da7d5b6df..46624ab9c3d2 100644 --- a/drivers/scsi/pluto.c +++ b/drivers/scsi/pluto.c | |||
@@ -71,7 +71,7 @@ static void __init pluto_detect_scsi_done(Scsi_Cmnd *SCpnt) | |||
71 | up(&fc_sem); | 71 | up(&fc_sem); |
72 | } | 72 | } |
73 | 73 | ||
74 | int pluto_slave_configure(Scsi_Device *device) | 74 | int pluto_slave_configure(struct scsi_device *device) |
75 | { | 75 | { |
76 | int depth_to_use; | 76 | int depth_to_use; |
77 | 77 | ||
@@ -90,11 +90,11 @@ int pluto_slave_configure(Scsi_Device *device) | |||
90 | 90 | ||
91 | /* Detect all SSAs attached to the machine. | 91 | /* Detect all SSAs attached to the machine. |
92 | To be fast, do it on all online FC channels at the same time. */ | 92 | To be fast, do it on all online FC channels at the same time. */ |
93 | int __init pluto_detect(Scsi_Host_Template *tpnt) | 93 | int __init pluto_detect(struct scsi_host_template *tpnt) |
94 | { | 94 | { |
95 | int i, retry, nplutos; | 95 | int i, retry, nplutos; |
96 | fc_channel *fc; | 96 | fc_channel *fc; |
97 | Scsi_Device dev; | 97 | struct scsi_device dev; |
98 | DEFINE_TIMER(fc_timer, pluto_detect_timeout, 0, 0); | 98 | DEFINE_TIMER(fc_timer, pluto_detect_timeout, 0, 0); |
99 | 99 | ||
100 | tpnt->proc_name = "pluto"; | 100 | tpnt->proc_name = "pluto"; |
@@ -339,7 +339,7 @@ static int pluto_encode_addr(Scsi_Cmnd *SCpnt, u16 *addr, fc_channel *fc, fcp_cm | |||
339 | return 0; | 339 | return 0; |
340 | } | 340 | } |
341 | 341 | ||
342 | static Scsi_Host_Template driver_template = { | 342 | static struct scsi_host_template driver_template = { |
343 | .name = "Sparc Storage Array 100/200", | 343 | .name = "Sparc Storage Array 100/200", |
344 | .detect = pluto_detect, | 344 | .detect = pluto_detect, |
345 | .release = pluto_release, | 345 | .release = pluto_release, |