From d11ef4d54cab0e740efbceb9c6b5697a41770eea Mon Sep 17 00:00:00 2001 From: AKASHI Takahiro Date: Fri, 4 Oct 2019 13:45:18 +0900 Subject: [PATCH] sandbox: fix build error due to missing struct udevice definition Without this patch, compiling may potentially fail. Signed-off-by: AKASHI Takahiro Reviewed-by: Simon Glass --- arch/sandbox/include/asm/u-boot-sandbox.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/sandbox/include/asm/u-boot-sandbox.h b/arch/sandbox/include/asm/u-boot-sandbox.h index b2b8e36455..798d003077 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 * -- 2.25.1