]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/mac53c94.c
Merge ../linus
[linux-2.6-omap-h63xx.git] / drivers / scsi / mac53c94.c
index 311a4122bd7094b6ddd49af223abe08d3a40dc01..89ef34df5a1db443eb15b28727b5f9b91df413f1 100644 (file)
@@ -378,7 +378,7 @@ static void set_dma_cmds(struct fsc_state *state, struct scsi_cmnd *cmd)
                int nseg;
 
                total = 0;
-               scl = (struct scatterlist *) cmd->buffer;
+               scl = (struct scatterlist *) cmd->request_buffer;
                nseg = pci_map_sg(state->pdev, scl, cmd->use_sg,
                                cmd->sc_data_direction);
                for (i = 0; i < nseg; ++i) {
@@ -537,9 +537,9 @@ static int mac53c94_remove(struct macio_dev *mdev)
        free_irq(fp->intr, fp);
 
        if (fp->regs)
-               iounmap((void *) fp->regs);
+               iounmap(fp->regs);
        if (fp->dma)
-               iounmap((void *) fp->dma);
+               iounmap(fp->dma);
        kfree(fp->dma_cmd_space);
 
        scsi_host_put(host);