From: Andrew Scull Date: Wed, 23 Mar 2022 20:20:37 +0000 (+0000) Subject: sandbox: sdl: Add stub sandbox_sdl_remove_display() X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=c527e3f52db34ce945ebea55e8d16c6e8fda2705;p=u-boot.git sandbox: sdl: Add stub sandbox_sdl_remove_display() Building the sandbox with NO_SDL=1 resulted in an undefined reference to 'sandbox_sdl_remove_display'. Resolve this by adding a stub implementation to match the stubs of the other similar functions. Signed-off-by: Andrew Scull Cc: Simon Glass Cc: Anatolij Gustschin Reviewed-by: Simon Glass --- diff --git a/arch/sandbox/include/asm/sdl.h b/arch/sandbox/include/asm/sdl.h index e271a849af..56dcb84803 100644 --- a/arch/sandbox/include/asm/sdl.h +++ b/arch/sandbox/include/asm/sdl.h @@ -94,6 +94,11 @@ static inline int sandbox_sdl_init_display(int width, int height, int log2_bpp, return -ENODEV; } +static inline int sandbox_sdl_remove_display(void) +{ + return -ENODEV; +} + static inline int sandbox_sdl_sync(void *lcd_base) { return -ENODEV;