[PATCH 1/1] sandbox: sandbox_serial_pending depends on DM_VIDEO

Simon Glass sjg at chromium.org
Wed Jan 26 16:36:30 CET 2022


On Fri, 21 Jan 2022 at 08:07, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> When building sandbox_defconfig with CONFIG_DM_VIDEO=n a link time error
> occurs:
>
>    in function `sandbox_serial_pending':
>    drivers/serial/sandbox.c:101: undefined reference to `video_sync_all'
>
> video_sync_all() is only defined if we have CONFIG_DM_VIDEO=y.
>
> Calling this function in a serial driver looks quite hackish
> but at least let's add the missing build constraint.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  drivers/serial/sandbox.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list