aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-01-04 03:59:37 -0500
committerDavid S. Miller <davem@davemloft.net>2012-01-04 15:55:53 -0500
commit853d5dc95b41babb7001934becad9c944738d8e3 (patch)
tree374fdf6c69cde341609776bdda2c94887b702177
parente1477637967d0d8db3083bacb241c796c3c4f23b (diff)
r6040: use __aligned(size)
instead of __attribute__((__aligned(size)__)) Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/rdc/r6040.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/rdc/r6040.c b/drivers/net/ethernet/rdc/r6040.c
index e9054a9e5ec3..b8dc7276adac 100644
--- a/drivers/net/ethernet/rdc/r6040.c
+++ b/drivers/net/ethernet/rdc/r6040.c
@@ -173,7 +173,7 @@ struct r6040_descriptor {
173 struct r6040_descriptor *vndescp; /* 14-17 */ 173 struct r6040_descriptor *vndescp; /* 14-17 */
174 struct sk_buff *skb_ptr; /* 18-1B */ 174 struct sk_buff *skb_ptr; /* 18-1B */
175 u32 rev2; /* 1C-1F */ 175 u32 rev2; /* 1C-1F */
176} __attribute__((aligned(32))); 176} __aligned(32);
177 177
178struct r6040_private { 178struct r6040_private {
179 spinlock_t lock; /* driver lock */ 179 spinlock_t lock; /* driver lock */