summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-12 16:04:28 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-12 16:04:28 +0000
commit76604034e6584928b77dcd1f23849b8394e910f7 (patch)
treea8557349d450623cc33410d4cf96f5c2b94630c9 /target/linux/ar71xx/files/drivers
parent1142b81a11dcb90eaeecff015fa68b20bbde1ea5 (diff)
[ar71xx] ag71xx driver: descriptors always aligned on 4 byte boundary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16818 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers')
-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 d012b7393..843fc4cc9 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;