Commit 853d5dc9 authored by Florian Fainelli's avatar Florian Fainelli Committed by David S. Miller

r6040: use __aligned(size)

instead of __attribute__((__aligned(size)__))
Signed-off-by: default avatarFlorian Fainelli <florian@openwrt.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e1477637
...@@ -173,7 +173,7 @@ struct r6040_descriptor { ...@@ -173,7 +173,7 @@ struct r6040_descriptor {
struct r6040_descriptor *vndescp; /* 14-17 */ struct r6040_descriptor *vndescp; /* 14-17 */
struct sk_buff *skb_ptr; /* 18-1B */ struct sk_buff *skb_ptr; /* 18-1B */
u32 rev2; /* 1C-1F */ u32 rev2; /* 1C-1F */
} __attribute__((aligned(32))); } __aligned(32);
struct r6040_private { struct r6040_private {
spinlock_t lock; /* driver lock */ spinlock_t lock; /* driver lock */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment