[U-Boot] [PATCH] linker_lists: include <linux/compiler.h>

The header file include/linker_lists.h uses __aligned(); therefore it depends on include/linux/compiler.h
Signed-off-by: Masahiro Yamada yamada.m@jp.panasonic.com ---
include/linker_lists.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/linker_lists.h b/include/linker_lists.h index 507d61b..046ac90 100644 --- a/include/linker_lists.h +++ b/include/linker_lists.h @@ -11,6 +11,8 @@ #ifndef __LINKER_LISTS_H__ #define __LINKER_LISTS_H__
+#include <linux/compiler.h> + /* * There is no use in including this from ASM files, but that happens * anyway, e.g. PPC kgdb.S includes command.h which incluse us.

On 6 October 2014 23:48, Masahiro Yamada yamada.m@jp.panasonic.com wrote:
The header file include/linker_lists.h uses __aligned(); therefore it depends on include/linux/compiler.h
Signed-off-by: Masahiro Yamada yamada.m@jp.panasonic.com
Acked-by: Simon Glass sjg@chromium.org

On 7 October 2014 22:14, Simon Glass sjg@chromium.org wrote:
On 6 October 2014 23:48, Masahiro Yamada yamada.m@jp.panasonic.com wrote:
The header file include/linker_lists.h uses __aligned(); therefore it depends on include/linux/compiler.h
Signed-off-by: Masahiro Yamada yamada.m@jp.panasonic.com
Acked-by: Simon Glass sjg@chromium.org
Applied to u-boot-dm/next, thanks!
participants (2)
-
Masahiro Yamada
-
Simon Glass