Message ID | 20191004044518.27272-1-takahiro.akashi@linaro.org |
---|---|
State | Accepted |
Commit | d11ef4d54cab0e740efbceb9c6b5697a41770eea |
Delegated to: | Simon Glass |
Headers | show |
Series | [U-Boot] sandbox: fix build error due to missing struct udevice definition | expand |
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!
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 *
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(+)