summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-14 20:34:30 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-14 21:41:51 +0200
commit51ef9c57f0be4945aa78b83d64aca34f41e351ce (patch)
tree6c39ee99b05d2eac97eb66263415dc37698e3fab /drivers/char
parentendian-clean in_le64/out_le64 (diff)
downloadlinux-51ef9c57f0be4945aa78b83d64aca34f41e351ce.tar.xz
linux-51ef9c57f0be4945aa78b83d64aca34f41e351ce.zip
synclink_gt endianness annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/synclink_gt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/synclink_gt.c b/drivers/char/synclink_gt.c
index 2f97d2f8f916..64e835f62438 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 */