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

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(+)
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 *

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

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!
participants (3)
-
AKASHI Takahiro
-
Simon Glass
-
sjg@google.com