sandbox: fix build error due to missing struct udevice definition
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Fri, 4 Oct 2019 04:45:18 +0000 (13:45 +0900)
committerSimon Glass <sjg@chromium.org>
Tue, 15 Oct 2019 14:40:03 +0000 (08:40 -0600)
Without this patch, compiling may potentially fail.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/include/asm/u-boot-sandbox.h

index b2b8e36455598585615593a7ddbd47ce0965ab17..798d0030773ed07b1505cd0a8e9c97ad72303b0b 100644 (file)
@@ -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
  *