diff options
| author | Andrew Scull <[email protected]> | 2022-03-23 20:20:37 +0000 |
|---|---|---|
| committer | Anatolij Gustschin <[email protected]> | 2022-06-25 07:54:20 +0200 |
| commit | c527e3f52db34ce945ebea55e8d16c6e8fda2705 (patch) | |
| tree | 7b457443b813168d3dc21b4ccef7db44c4b41ff5 | |
| parent | 625756083e3358744fbe0a60e0eedc009041782d (diff) | |
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 <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Anatolij Gustschin <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
| -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 e271a849af1..56dcb84803d 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; |
