aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_sx4.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/sata_sx4.c')
-rw-r--r--drivers/ata/sata_sx4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_sx4.c b/drivers/ata/sata_sx4.c
index 8138cda86a66..8d7f39532d4a 100644
--- a/drivers/ata/sata_sx4.c
+++ b/drivers/ata/sata_sx4.c
@@ -464,7 +464,7 @@ static void pdc20621_dma_prep(struct ata_queued_cmd *qc)
464 void __iomem *dimm_mmio = ap->host->iomap[PDC_DIMM_BAR]; 464 void __iomem *dimm_mmio = ap->host->iomap[PDC_DIMM_BAR];
465 unsigned int portno = ap->port_no; 465 unsigned int portno = ap->port_no;
466 unsigned int i, si, idx, total_len = 0, sgt_len; 466 unsigned int i, si, idx, total_len = 0, sgt_len;
467 u32 *buf = (u32 *) &pp->dimm_buf[PDC_DIMM_HEADER_SZ]; 467 __le32 *buf = (__le32 *) &pp->dimm_buf[PDC_DIMM_HEADER_SZ];
468 468
469 WARN_ON(!(qc->flags & ATA_QCFLAG_DMAMAP)); 469 WARN_ON(!(qc->flags & ATA_QCFLAG_DMAMAP));
470 470