]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/nsp32.c
[SPARC]: Convert all FB SBUS drivers to of_driver framework.
[linux-2.6-omap-h63xx.git] / drivers / scsi / nsp32.c
index 30ee0ef4b459ad14af1b2717a5506d02d0a064cb..5c55e152e7189f7ea6dd7ac287cd517bfa3a03cf 100644 (file)
@@ -1636,7 +1636,7 @@ static void nsp32_scsi_done(struct scsi_cmnd *SCpnt)
 
        if (SCpnt->use_sg) {
                pci_unmap_sg(data->Pci,
-                            (struct scatterlist *)SCpnt->buffer,
+                            (struct scatterlist *)SCpnt->request_buffer,
                             SCpnt->use_sg, SCpnt->sc_data_direction);
        } else {
                pci_unmap_single(data->Pci,