aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_promise.h
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2007-12-30 04:32:22 -0500
committerJeff Garzik <jeff@garzik.org>2008-01-23 05:24:15 -0500
commit4ca4e439640cd1d3659cbcf60e7a73c2ae0450b3 (patch)
tree659dceb7469341dca95d7a96774e787c3b510872 /drivers/ata/sata_promise.h
parent35a10a80daa04b7316d6bac1b1402cc347c35b1e (diff)
libata annotations and fixes
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/sata_promise.h')
-rw-r--r--drivers/ata/sata_promise.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_promise.h b/drivers/ata/sata_promise.h
index 6ee5e190262d..00d6000e546f 100644
--- a/drivers/ata/sata_promise.h
+++ b/drivers/ata/sata_promise.h
@@ -46,7 +46,7 @@ static inline unsigned int pdc_pkt_header(struct ata_taskfile *tf,
46 unsigned int devno, u8 *buf) 46 unsigned int devno, u8 *buf)
47{ 47{
48 u8 dev_reg; 48 u8 dev_reg;
49 u32 *buf32 = (u32 *) buf; 49 __le32 *buf32 = (__le32 *) buf;
50 50
51 /* set control bits (byte 0), zero delay seq id (byte 3), 51 /* set control bits (byte 0), zero delay seq id (byte 3),
52 * and seq id (byte 2) 52 * and seq id (byte 2)