aboutsummaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2019-10-04 13:45:18 +0900
committerSimon Glass <sjg@chromium.org>2019-10-15 08:40:03 -0600
commitd11ef4d54cab0e740efbceb9c6b5697a41770eea (patch)
tree9d873f3e8235fac85db789feb47c56e361fc1159 /arch/sandbox
parent2a43dbdf9668dc9fbfc309e085eb0c7fa64c2f15 (diff)
downloadu-boot-d11ef4d54cab0e740efbceb9c6b5697a41770eea.zip
u-boot-d11ef4d54cab0e740efbceb9c6b5697a41770eea.tar.gz
u-boot-d11ef4d54cab0e740efbceb9c6b5697a41770eea.tar.bz2
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/sandbox')
-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 b2b8e36..798d003 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
*