[U-Boot] [PATCH] net: calxedaxgmac: fix build due to missing __aligned definition

Rob Herring robherring2 at gmail.com
Wed Feb 1 23:58:49 CET 2012


From: Rob Herring <rob.herring at calxeda.com>

Include linux/compiler.h to fix build error due to missing __aligned
definition.

Signed-off-by: Rob Herring <rob.herring at calxeda.com>
---
 drivers/net/calxedaxgmac.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/calxedaxgmac.c b/drivers/net/calxedaxgmac.c
index 01b2eee..00e26c2 100644
--- a/drivers/net/calxedaxgmac.c
+++ b/drivers/net/calxedaxgmac.c
@@ -16,6 +16,7 @@
  */
 #include <common.h>
 #include <malloc.h>
+#include <linux/compiler.h>
 #include <linux/err.h>
 #include <asm/io.h>
 
-- 
1.7.5.4



More information about the U-Boot mailing list