diff options
Diffstat (limited to 'drivers/ata/sata_promise.h')
-rw-r--r-- | drivers/ata/sata_promise.h | 2 |
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) |