]> git.sur5r.net Git - u-boot/commitdiff
net: calxedaxgmac: fix build due to missing __aligned definition
authorRob Herring <rob.herring@calxeda.com>
Wed, 1 Feb 2012 12:58:49 +0000 (12:58 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 28 Mar 2012 21:30:33 +0000 (23:30 +0200)
Include linux/compiler.h to fix build error due to missing __aligned
definition.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
drivers/net/calxedaxgmac.c

index 01b2eeeaeed611a90774684937adb41e59494d4f..00e26c2adc2d543374a5018d5b13ae6036d1ef8d 100644 (file)
@@ -16,6 +16,7 @@
  */
 #include <common.h>
 #include <malloc.h>
+#include <linux/compiler.h>
 #include <linux/err.h>
 #include <asm/io.h>