aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAKASHI Takahiro2019-10-04 13:45:18 +0900
committerSimon Glass2019-10-15 08:40:03 -0600
commitd11ef4d54cab0e740efbceb9c6b5697a41770eea (patch)
tree9d873f3e8235fac85db789feb47c56e361fc1159 /arch
parent2a43dbdf9668dc9fbfc309e085eb0c7fa64c2f15 (diff)
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> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sandbox/include/asm/u-boot-sandbox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/u-boot-sandbox.h b/arch/sandbox/include/asm/u-boot-sandbox.h
index b2b8e364555..798d0030773 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
*