diff mbox series

[U-Boot] sandbox: fix build error due to missing struct udevice definition

Message ID 20191004044518.27272-1-takahiro.akashi@linaro.org
State Accepted
Commit d11ef4d54cab0e740efbceb9c6b5697a41770eea
Delegated to: Simon Glass
Headers show
Series [U-Boot] sandbox: fix build error due to missing struct udevice definition | expand

Commit Message

Takahiro Akashi Oct. 4, 2019, 4:45 a.m. UTC
Without this patch, compiling may potentially fail.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
---
 arch/sandbox/include/asm/u-boot-sandbox.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Simon Glass Oct. 10, 2019, 5:06 p.m. UTC | #1
On Thu, 3 Oct 2019 at 21:41, AKASHI Takahiro <takahiro.akashi@linaro.org> wrote:
>
> Without this patch, compiling may potentially fail.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
> ---
>  arch/sandbox/include/asm/u-boot-sandbox.h | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>
Simon Glass Oct. 12, 2019, 2:53 a.m. UTC | #2
On Thu, 3 Oct 2019 at 21:41, AKASHI Takahiro <takahiro.akashi@linaro.org> wrote:
>
> Without this patch, compiling may potentially fail.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
> ---
>  arch/sandbox/include/asm/u-boot-sandbox.h | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-dm, thanks!
diff mbox series

Patch

diff --git a/arch/sandbox/include/asm/u-boot-sandbox.h b/arch/sandbox/include/asm/u-boot-sandbox.h
index b2b8e3645559..798d0030773e 100644
--- a/arch/sandbox/include/asm/u-boot-sandbox.h
+++ b/arch/sandbox/include/asm/u-boot-sandbox.h
@@ -26,6 +26,8 @@  int cleanup_before_linux(void);
 /* drivers/video/sandbox_sdl.c */
 int sandbox_lcd_sdl_early_init(void);
 
+struct udevice;
+
 /**
  * pci_map_physmem() - map a PCI device into memory
  *