diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-02 14:10:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-03 06:18:23 -0400 |
commit | ba2d3587912f82d1ab4367975b1df460db60fb1e (patch) | |
tree | 1e4e04caf23274bb4e39edbfc5713b4856326953 /drivers/net/3c527.h | |
parent | 1273d97674a1782ff55b823aa6c40aea9b538aaf (diff) |
drivers/net: use __packed annotation
cleanup patch.
Use new __packed annotation in drivers/net/
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/3c527.h')
-rw-r--r-- | drivers/net/3c527.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/3c527.h b/drivers/net/3c527.h index 75e28fef797b..d693b8d15cde 100644 --- a/drivers/net/3c527.h +++ b/drivers/net/3c527.h | |||
@@ -34,7 +34,7 @@ struct mc32_mailbox | |||
34 | { | 34 | { |
35 | u16 mbox; | 35 | u16 mbox; |
36 | u16 data[1]; | 36 | u16 data[1]; |
37 | } __attribute((packed)); | 37 | } __packed; |
38 | 38 | ||
39 | struct skb_header | 39 | struct skb_header |
40 | { | 40 | { |
@@ -43,7 +43,7 @@ struct skb_header | |||
43 | u16 next; /* Do not change! */ | 43 | u16 next; /* Do not change! */ |
44 | u16 length; | 44 | u16 length; |
45 | u32 data; | 45 | u32 data; |
46 | } __attribute((packed)); | 46 | } __packed; |
47 | 47 | ||
48 | struct mc32_stats | 48 | struct mc32_stats |
49 | { | 49 | { |
@@ -68,7 +68,7 @@ struct mc32_stats | |||
68 | u32 dataA[6]; | 68 | u32 dataA[6]; |
69 | u16 dataB[5]; | 69 | u16 dataB[5]; |
70 | u32 dataC[14]; | 70 | u32 dataC[14]; |
71 | } __attribute((packed)); | 71 | } __packed; |
72 | 72 | ||
73 | #define STATUS_MASK 0x0F | 73 | #define STATUS_MASK 0x0F |
74 | #define COMPLETED (1<<7) | 74 | #define COMPLETED (1<<7) |