[ar71xx] ag71xx driver: descriptors always aligned on 4 byte boundary
[openwrt-10.03/.git] / target / linux / ar71xx / files / drivers / net / ag71xx / ag71xx.h
index d012b739378b51fb84eb08da847f529f68657a34..843fc4cc9cba5882bb5d50fcbd8f2f427cb0b08e 100644 (file)
@@ -85,7 +85,7 @@ struct ag71xx_desc {
 #define DESC_PKTLEN_M  0xfff
        u32     next;
        u32     pad;
-};
+} __attribute__((aligned(4)));
 
 struct ag71xx_buf {
        struct sk_buff  *skb;