scsi: core: Remove the 'done' argument from SCSI queuecommand_lck functions
[linux-2.6-block.git] / drivers / scsi / atp870u.c
index 6e1595b32bc01bfe6b4791c5d8a73f65f7bc8894..dcd6fae65a885071ffcbe0618f3841845b2fe992 100644 (file)
@@ -618,9 +618,9 @@ static irqreturn_t atp870u_intr_handle(int irq, void *dev_id)
  *
  *     Queue a command to the ATP queue. Called with the host lock held.
  */
-static int atp870u_queuecommand_lck(struct scsi_cmnd *req_p,
-                        void (*done) (struct scsi_cmnd *))
+static int atp870u_queuecommand_lck(struct scsi_cmnd *req_p)
 {
+       void (*done)(struct scsi_cmnd *) = scsi_done;
        unsigned char c;
        unsigned int m;
        struct atp_unit *dev;