[U-Boot] [PATCH 08/32] Blackfin: global_data.h: make pull in needed headers

Mike Frysinger vapier at gentoo.org
Sun Jan 17 15:38:59 CET 2010


We need the definition of bd_t in this header, so pull in asm/u-boot.h.

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 include/asm-blackfin/global_data.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/asm-blackfin/global_data.h b/include/asm-blackfin/global_data.h
index b78b04c..c7099e6 100644
--- a/include/asm-blackfin/global_data.h
+++ b/include/asm-blackfin/global_data.h
@@ -28,6 +28,8 @@
 #ifndef	__ASM_GBL_DATA_H
 #define __ASM_GBL_DATA_H
 
+#include <asm/u-boot.h>
+
 /*
  * The following data structure is placed in some memory wich is
  * available very early after boot (like DPRAM on MPC8xx/MPC82xx, or
-- 
1.6.6



More information about the U-Boot mailing list