From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 949F6C433EF for ; Thu, 16 Jun 2022 22:33:25 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1946E84398; Fri, 17 Jun 2022 00:32:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="lMoc3/c5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C969884398; Fri, 17 Jun 2022 00:32:53 +0200 (CEST) Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 866B984392 for ; Fri, 17 Jun 2022 00:32:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=francis.laniel@amarulasolutions.com Received: by mail-wm1-x32b.google.com with SMTP id m32-20020a05600c3b2000b0039756bb41f2so1534588wms.3 for ; Thu, 16 Jun 2022 15:32:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=c23dnbuohv8adopcPqYvMjw/ENNrGta+WJzf6ab5Xaw=; b=lMoc3/c5uS7rfIqUuA2o906fO/6njdIyBls9b9JL79ZRg5TE7fUUChhHXcuA1FspC9 O8SoJx03qKkEGcm409MzfQTCghKT4vHByNPzkHNtWSdaoTl0Uqf8LGxEouJvV6DtUE+4 xhB2uHzuaM4zwXve9/72FVA92InSL2shs0H8c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=c23dnbuohv8adopcPqYvMjw/ENNrGta+WJzf6ab5Xaw=; b=T7btyfsMFNEwS0iwV4ZzBoKpwbSgfphyTn46n8Rh1yZkOJDzzfn0bneLz40IgtKOHk oO+BWoOK+wg/fAMCb+4tznmTIRQIBjp6Qbd2j6XUg1UyTA8Im5w5biqm+B8omAlyOG4i d4aPz+TQEwMKcGImKS2G/9V+kelqrBH/rwWDIg4jP5eKK8kHB6q9bHo/ZnYt9bp5VXQH WIzKxN7Dy/gaFZHZh7TTZNuuWD9XETxB+8m1BW+i2Z5RhqPuR9hI3IRrktYoj3c75TjM wJezRqukZIW07flm2Qb3eDAgBA5k+zFe0angCCwXLIjO+QZPKnBOMDj3pzcsgreBFruN /jug== X-Gm-Message-State: AOAM533mc09MjDgDogkYZT6GdISUVwIYRafX+hYA+NlzT946D1vcK1GU kmxvZeJBUSd/8+Xn+LYv6R+qAxyjG0lELQ== X-Google-Smtp-Source: ABdhPJyY1ciaVAeRmfMZQMkukQBLRX/Ke/534AtT+7krHYK8uGBH/ml2g2CPsJX97Z29RIUqhY/G6A== X-Received: by 2002:a7b:c777:0:b0:39c:4e1d:fd27 with SMTP id x23-20020a7bc777000000b0039c4e1dfd27mr17391221wmk.1.1655418766942; Thu, 16 Jun 2022 15:32:46 -0700 (PDT) Received: from pwmachine.home (17.pool80-103-97.dynamic.orange.es. [80.103.97.17]) by smtp.gmail.com with ESMTPSA id n4-20020a05600c4f8400b003971fc23185sm7912044wmq.20.2022.06.16.15.32.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jun 2022 15:32:46 -0700 (PDT) From: Francis Laniel To: u-boot@lists.denx.de Cc: Marek Behun , Michael Nazzareno Trimarchi , Simon Glass , Wolfgang Denk , Harald Seiler , Tom Rini , Francis Laniel Subject: [RFC PATCH v4 01/28] video: sandbox: Add dummy function for sandbox_sdl_remove_display(). Date: Fri, 17 Jun 2022 00:31:31 +0200 Message-Id: <20220616223158.9225-2-francis.laniel@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220616223158.9225-1-francis.laniel@amarulasolutions.com> References: <20220616223158.9225-1-francis.laniel@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean We need to defined a dummy version of this function when compiling with NO_SDL=1. Otherwise, we would face compilation error. Fixes: 250e735c692b ("video: sandbox: Avoid duplicate display windows") Signed-off-by: Francis Laniel --- arch/sandbox/include/asm/sdl.h | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.25.1