Re: [PATCH] video: sandbox: fix missing shim definition of sandbox_sdl_remove_display()

2022-03-11 Thread Simon Glass
On Fri, 11 Mar 2022 at 11:52, Vladimir Oltean wrote: > > When CONFIG_SANDBOX_SDL=n, sandbox_sdl_set_bpp() from > drivers/video/sandbox_sdl.c > calls sandbox_sdl_remove_display() in arch/sandbox/cpu/sdl.c, but this > isn't compiled in. A shim definition is missing, leading to a > compilation warni

[PATCH] video: sandbox: fix missing shim definition of sandbox_sdl_remove_display()

2022-03-11 Thread Vladimir Oltean
When CONFIG_SANDBOX_SDL=n, sandbox_sdl_set_bpp() from drivers/video/sandbox_sdl.c calls sandbox_sdl_remove_display() in arch/sandbox/cpu/sdl.c, but this isn't compiled in. A shim definition is missing, leading to a compilation warning (missing function prototype) and a linkage bug. Fixes: 8657ad4