]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/mesh.c
Merge ../linus
[linux-2.6-omap-h63xx.git] / drivers / scsi / mesh.c
index f852421002ef7fb44de3f3d6046e01b631416cf5..5572981a9f925648f5fd44c841499d93ab63c70e 100644 (file)
@@ -18,7 +18,6 @@
  * - retry arbitration if lost (unless higher levels do this for us)
  * - power down the chip when no device is detected
  */
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/delay.h>
@@ -1269,7 +1268,7 @@ static void set_dma_cmds(struct mesh_state *ms, struct scsi_cmnd *cmd)
                if (cmd->use_sg > 0) {
                        int nseg;
                        total = 0;
-                       scl = (struct scatterlist *) cmd->buffer;
+                       scl = (struct scatterlist *) cmd->request_buffer;
                        off = ms->data_ptr;
                        nseg = pci_map_sg(ms->pdev, scl, cmd->use_sg,
                                          cmd->sc_data_direction);