diff options
author | Andrew Scull <ascull@google.com> | 2022-03-23 20:20:37 +0000 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2022-06-25 07:54:20 +0200 |
commit | c527e3f52db34ce945ebea55e8d16c6e8fda2705 (patch) | |
tree | 7b457443b813168d3dc21b4ccef7db44c4b41ff5 | |
parent | 625756083e3358744fbe0a60e0eedc009041782d (diff) | |
download | u-boot-c527e3f52db34ce945ebea55e8d16c6e8fda2705.zip u-boot-c527e3f52db34ce945ebea55e8d16c6e8fda2705.tar.gz u-boot-c527e3f52db34ce945ebea55e8d16c6e8fda2705.tar.bz2 |
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 <ascull@google.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | arch/sandbox/include/asm/sdl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/sdl.h b/arch/sandbox/include/asm/sdl.h index e271a84..56dcb84 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; |