aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sky2.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-06-02 14:10:09 -0400
committerDavid S. Miller <davem@davemloft.net>2010-06-03 06:18:23 -0400
commitba2d3587912f82d1ab4367975b1df460db60fb1e (patch)
tree1e4e04caf23274bb4e39edbfc5713b4856326953 /drivers/net/sky2.h
parent1273d97674a1782ff55b823aa6c40aea9b538aaf (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/sky2.h')
-rw-r--r--drivers/net/sky2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h
index 084eff21b67a..61891a6cacc2 100644
--- a/drivers/net/sky2.h
+++ b/drivers/net/sky2.h
@@ -2161,21 +2161,21 @@ struct sky2_tx_le {
2161 __le16 length; /* also vlan tag or checksum start */ 2161 __le16 length; /* also vlan tag or checksum start */
2162 u8 ctrl; 2162 u8 ctrl;
2163 u8 opcode; 2163 u8 opcode;
2164} __attribute((packed)); 2164} __packed;
2165 2165
2166struct sky2_rx_le { 2166struct sky2_rx_le {
2167 __le32 addr; 2167 __le32 addr;
2168 __le16 length; 2168 __le16 length;
2169 u8 ctrl; 2169 u8 ctrl;
2170 u8 opcode; 2170 u8 opcode;
2171} __attribute((packed)); 2171} __packed;
2172 2172
2173struct sky2_status_le { 2173struct sky2_status_le {
2174 __le32 status; /* also checksum */ 2174 __le32 status; /* also checksum */
2175 __le16 length; /* also vlan tag */ 2175 __le16 length; /* also vlan tag */
2176 u8 css; 2176 u8 css;
2177 u8 opcode; 2177 u8 opcode;
2178} __attribute((packed)); 2178} __packed;
2179 2179
2180struct tx_ring_info { 2180struct tx_ring_info {
2181 struct sk_buff *skb; 2181 struct sk_buff *skb;