diff mbox

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

Message ID 1328137129-24407-1-git-send-email-robherring2@gmail.com
State Accepted
Commit d821ad4a618fe2a1a23aa66b8be3559de6e484fa
Delegated to: Albert ARIBAUD
Headers show

Commit Message

Rob Herring Feb. 1, 2012, 10:58 p.m. UTC
From: Rob Herring <rob.herring@calxeda.com>

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 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox

Patch

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>