From: AKASHI Takahiro Date: Fri, 4 Oct 2019 04:45:18 +0000 (+0900) Subject: sandbox: fix build error due to missing struct udevice definition X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=d11ef4d54cab0e740efbceb9c6b5697a41770eea;p=u-boot.git 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 --- 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 *