diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2019-10-04 13:45:18 +0900 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-10-15 08:40:03 -0600 |
commit | d11ef4d54cab0e740efbceb9c6b5697a41770eea (patch) | |
tree | 9d873f3e8235fac85db789feb47c56e361fc1159 | |
parent | 2a43dbdf9668dc9fbfc309e085eb0c7fa64c2f15 (diff) | |
download | u-boot-d11ef4d54cab0e740efbceb9c6b5697a41770eea.tar.gz |
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>
-rw-r--r-- | arch/sandbox/include/asm/u-boot-sandbox.h | 2 |
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 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 * |