diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-08-23 00:54:10 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:52:02 -0400 |
commit | 37e1370b701b9a032399e8e2d130009eefa66782 (patch) | |
tree | 01ceb97546994018beef678c59e7a38522ac54b0 /drivers/net/irda/vlsi_ir.h | |
parent | c676504ef5fe682bd343149de0e5c57bbf793ff9 (diff) |
drivers/net/irda: endianness, NULL noise
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/irda/vlsi_ir.h')
-rw-r--r-- | drivers/net/irda/vlsi_ir.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/irda/vlsi_ir.h b/drivers/net/irda/vlsi_ir.h index ca12a6096419..c8b9c74eea52 100644 --- a/drivers/net/irda/vlsi_ir.h +++ b/drivers/net/irda/vlsi_ir.h | |||
@@ -537,10 +537,10 @@ calc_width_bits(unsigned baudrate, unsigned widthselect, unsigned clockselect) | |||
537 | */ | 537 | */ |
538 | 538 | ||
539 | struct ring_descr_hw { | 539 | struct ring_descr_hw { |
540 | volatile u16 rd_count; /* tx/rx count [11:0] */ | 540 | volatile __le16 rd_count; /* tx/rx count [11:0] */ |
541 | u16 reserved; | 541 | __le16 reserved; |
542 | union { | 542 | union { |
543 | u32 addr; /* [23:0] of the buffer's busaddress */ | 543 | __le32 addr; /* [23:0] of the buffer's busaddress */ |
544 | struct { | 544 | struct { |
545 | u8 addr_res[3]; | 545 | u8 addr_res[3]; |
546 | volatile u8 status; /* descriptor status */ | 546 | volatile u8 status; /* descriptor status */ |