summaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/irda-usb.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-05-21 06:32:11 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-21 16:55:59 -0700
commitf6c2fb5ccff51e19850b1aca024a3b20b16a81e9 (patch)
tree9a0bc64dbbdd78f4bb0a3ddb79a5dd63c8bbe5ca /drivers/net/irda/irda-usb.h
parent572abae844e380ef4f8484d4e374a9ccf73dd568 (diff)
downloadtalos-op-linux-f6c2fb5ccff51e19850b1aca024a3b20b16a81e9.tar.gz
talos-op-linux-f6c2fb5ccff51e19850b1aca024a3b20b16a81e9.zip
irda-usb endianness annotations and fixes
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/irda/irda-usb.h')
-rw-r--r--drivers/net/irda/irda-usb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/irda/irda-usb.h b/drivers/net/irda/irda-usb.h
index e846c38224a3..a0ca9c1fe196 100644
--- a/drivers/net/irda/irda-usb.h
+++ b/drivers/net/irda/irda-usb.h
@@ -117,11 +117,11 @@
struct irda_class_desc {
__u8 bLength;
__u8 bDescriptorType;
- __u16 bcdSpecRevision;
+ __le16 bcdSpecRevision;
__u8 bmDataSize;
__u8 bmWindowSize;
__u8 bmMinTurnaroundTime;
- __u16 wBaudRate;
+ __le16 wBaudRate;
__u8 bmAdditionalBOFs;
__u8 bIrdaRateSniff;
__u8 bMaxUnicastList;
OpenPOWER on IntegriCloud