diff mbox

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

Message ID 1412660903-27364-1-git-send-email-yamada.m@jp.panasonic.com
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Masahiro Yamada Oct. 7, 2014, 5:48 a.m. UTC
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(+)

Comments

Simon Glass Oct. 8, 2014, 4:14 a.m. UTC | #1
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>
Simon Glass Oct. 10, 2014, 2:46 a.m. UTC | #2
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!
diff mbox

Patch

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.