From: Florian Fainelli Date: Wed, 4 Jan 2012 08:59:37 +0000 (+0000) Subject: r6040: use __aligned(size) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=853d5dc95b41babb7001934becad9c944738d8e3;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git r6040: use __aligned(size) instead of __attribute__((__aligned(size)__)) Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- 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 { struct r6040_descriptor *vndescp; /* 14-17 */ struct sk_buff *skb_ptr; /* 18-1B */ u32 rev2; /* 1C-1F */ -} __attribute__((aligned(32))); +} __aligned(32); struct r6040_private { spinlock_t lock; /* driver lock */