r6040: use __aligned(size)
authorFlorian Fainelli <florian@openwrt.org>
Wed, 4 Jan 2012 08:59:37 +0000 (08:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jan 2012 20:55:53 +0000 (15:55 -0500)
instead of __attribute__((__aligned(size)__))

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rdc/r6040.c

index e9054a9e5ec3c2dacef10fe164940dbc274f3249..b8dc7276adac7383ec58ee8afe9587cd870d70a5 100644 (file)
@@ -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 */