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

login
register
mail settings
Submitter Rob Herring
Date Feb. 1, 2012, 10:58 p.m.
Message ID <1328137129-24407-1-git-send-email-robherring2@gmail.com>
Download mbox | patch
Permalink /patch/139020/
State Accepted
Commit d821ad4a618fe2a1a23aa66b8be3559de6e484fa
Delegated to: Albert ARIBAUD
Headers show

Comments

Rob Herring - Feb. 1, 2012, 10:58 p.m.
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(-)

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>