aboutsummaryrefslogtreecommitdiffstats
path: root/target
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
commit42e75cfee0994934717b04972c94c9339a16ab2f (patch)
treea8557349d450623cc33410d4cf96f5c2b94630c9 /target
parenta9c43c0abb2ab8f646738767d24b13c504c6097c (diff)
downloadupstream-42e75cfee0994934717b04972c94c9339a16ab2f.tar.gz
upstream-42e75cfee0994934717b04972c94c9339a16ab2f.tar.bz2
upstream-42e75cfee0994934717b04972c94c9339a16ab2f.zip
[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')
-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 d012b73937..843fc4cc9c 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;