diff mbox series

asm-generic/u-boot.h: make <asm-generic/u-boot.h> self-contained

Message ID 20200224172417.13684-1-masahiroy@kernel.org
State New
Headers show
Series asm-generic/u-boot.h: make <asm-generic/u-boot.h> self-contained | expand

Commit Message

Masahiro Yamada Feb. 24, 2020, 5:24 p.m. UTC
This header uses 'phys_addr_t' and 'ulong'. Include the definitions.

Signed-off-by: Masahiro Yamada <masahiroy at kernel.org>
---

 include/asm-generic/u-boot.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Tom Rini March 17, 2020, 3:28 p.m. UTC | #1
On Tue, Feb 25, 2020 at 02:24:17AM +0900, Masahiro Yamada wrote:

> This header uses 'phys_addr_t' and 'ulong'. Include the definitions.
> 
> Signed-off-by: Masahiro Yamada <masahiroy at kernel.org>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/include/asm-generic/u-boot.h b/include/asm-generic/u-boot.h
index eee84f49bb..d0fd24446f 100644
--- a/include/asm-generic/u-boot.h
+++ b/include/asm-generic/u-boot.h
@@ -15,6 +15,8 @@ 
 #ifndef __ASM_GENERIC_U_BOOT_H__
 #define __ASM_GENERIC_U_BOOT_H__
 
+#include <linux/types.h>
+
 /*
  * Board information passed to Linux kernel from U-Boot
  *