summaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_sx4.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-03-25 06:18:11 +0100
committerJeff Garzik <jgarzik@redhat.com>2008-04-17 21:44:20 +0200
commit826cd156de6cea1e4982f32238077215cfa4ae63 (patch)
tree7c74d82ef9a5331b48b2d2c2b4310757d08f169b /drivers/ata/sata_sx4.c
parentata_piix: kill ich6_sata_ahci and clean up (diff)
downloadlinux-826cd156de6cea1e4982f32238077215cfa4ae63.tar.xz
linux-826cd156de6cea1e4982f32238077215cfa4ae63.zip
libata annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
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)
void __iomem *dimm_mmio = ap->host->iomap[PDC_DIMM_BAR];
unsigned int portno = ap->port_no;
unsigned int i, si, idx, total_len = 0, sgt_len;
- u32 *buf = (u32 *) &pp->dimm_buf[PDC_DIMM_HEADER_SZ];
+ __le32 *buf = (__le32 *) &pp->dimm_buf[PDC_DIMM_HEADER_SZ];
WARN_ON(!(qc->flags & ATA_QCFLAG_DMAMAP));