aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pluto.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/pluto.c')
-rw-r--r--drivers/scsi/pluto.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/pluto.c b/drivers/scsi/pluto.c
index e2213894917f..0363c1cd68c1 100644
--- a/drivers/scsi/pluto.c
+++ b/drivers/scsi/pluto.c
@@ -160,7 +160,6 @@ int __init pluto_detect(struct scsi_host_template *tpnt)
160 160
161 SCpnt->request->cmd_flags &= ~REQ_STARTED; 161 SCpnt->request->cmd_flags &= ~REQ_STARTED;
162 162
163 SCpnt->done = pluto_detect_done;
164 SCpnt->request_bufflen = 256; 163 SCpnt->request_bufflen = 256;
165 SCpnt->request_buffer = fcs[i].inquiry; 164 SCpnt->request_buffer = fcs[i].inquiry;
166 PLD(("set up %d %08lx\n", i, (long)SCpnt)) 165 PLD(("set up %d %08lx\n", i, (long)SCpnt))
@@ -195,7 +194,7 @@ int __init pluto_detect(struct scsi_host_template *tpnt)
195 SCpnt = &(fcs[i].cmd); 194 SCpnt = &(fcs[i].cmd);
196 195
197 /* Let FC mid-level free allocated resources */ 196 /* Let FC mid-level free allocated resources */
198 SCpnt->done (SCpnt); 197 pluto_detect_scsi_done(SCpnt);
199 198
200 if (!SCpnt->result) { 199 if (!SCpnt->result) {
201 struct pluto_inquiry *inq; 200 struct pluto_inquiry *inq;