summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-07-12 16:04:28 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-07-12 16:04:28 +0000
commitb1f5f1d3b01fa9c8337c19249b2372164db3bb94 (patch)
treedda1aa71de07a60a7b69cb7afe1186693a5b97e1
parent10357fc1806f11e66b80e9f06be0fc541676111d (diff)
downloadmtk-20170518-b1f5f1d3b01fa9c8337c19249b2372164db3bb94.zip
mtk-20170518-b1f5f1d3b01fa9c8337c19249b2372164db3bb94.tar.gz
mtk-20170518-b1f5f1d3b01fa9c8337c19249b2372164db3bb94.tar.bz2
ag71xx driver: descriptors always aligned on 4 byte boundary
SVN-Revision: 16818
-rw-r--r--target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
index d012b73..843fc4c 100644
--- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
+++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
@@ -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;