From: Al Viro Date: Sun, 14 Oct 2007 18:34:30 +0000 (+0100) Subject: synclink_gt endianness annotations X-Git-Tag: v2.6.24-rc1~1314 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=51ef9c57f0be4945aa78b83d64aca34f41e351ce;p=linux-2.6-omap-h63xx.git synclink_gt endianness annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/synclink_gt.c b/drivers/char/synclink_gt.c index 2f97d2f8f91..64e835f6243 100644 --- a/drivers/char/synclink_gt.c +++ b/drivers/char/synclink_gt.c @@ -206,10 +206,10 @@ static void flush_cond_wait(struct cond_wait **head); */ struct slgt_desc { - unsigned short count; - unsigned short status; - unsigned int pbuf; /* physical address of data buffer */ - unsigned int next; /* physical address of next descriptor */ + __le16 count; + __le16 status; + __le32 pbuf; /* physical address of data buffer */ + __le32 next; /* physical address of next descriptor */ /* driver book keeping */ char *buf; /* virtual address of data buffer */