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 B3B02C433F5 for ; Thu, 31 Mar 2022 23:43:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9468284328; Fri, 1 Apr 2022 01:32:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (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="J5VA9krp"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 61BB58427E; Fri, 1 Apr 2022 01:32:06 +0200 (CEST) Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (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 018088430D for ; Fri, 1 Apr 2022 01:27:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (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-x32e.google.com with SMTP id bi13-20020a05600c3d8d00b0038c2c33d8f3so2517578wmb.4 for ; Thu, 31 Mar 2022 16:27:50 -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=J5VA9krp5tgllwhWthBu1JiLJXSqrNi8x8w4xYTFh3duwts9dVp9SEAnWSiHJS5n/Q XbrGmVNfcQRKOzff8I60/hypzYBNoict5UB1ioX2vNz1HiRTdvP8Xeo3PwesCRgO+K/D i7cIbALVwK7nbBKXqrQq29W+TtmKi7GcvhhCA= 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=OHuMQLxtb8p8b3QEuRKt1q1Qqqdcw4J+xLYhRJKeCOxEHnHW4WZ8zHfKUwEBkxoufl UeoUvDJbu6EYKy4FgN8psLnhbDdbisO6Z7wMgUrRBuACV2KegPETfHonJlsoEGNwYmwN KBXrz7/J0ROxyP1LSJkDqM4Uifjk/YUwo+DlKAXqnBxqNo5VBiGYUALK0yxG4rGBbiAM qpWV3vcQjjZlhjg8+PGdh8oVZlNd580r2J1wCQ132aJH62wMoiwz0sU7OkNyCCDYK8Kz 4hMhRZjgR/Q4xOnN3rT22fP9bkan7ErWX6c0qxSErzio6iLVvOqlyN6os1iFapbfFHF2 7PWQ== X-Gm-Message-State: AOAM532N+KPzn5Pkfd22dpc4rrME2/5EZm+6NBSG4YNSDLlXBFeODJFM eyzXxBsU70C10Of5mEtc/pDS45Uk6fobyVV+ X-Google-Smtp-Source: ABdhPJxOURvpALxXinNHjg3cCOOMNpDRHjxZOef0ixV6qb2KtWXS5BU+wJWxVlmU7hPSxwOX2Fc00w== X-Received: by 2002:a05:600c:4e8b:b0:38c:90cf:1158 with SMTP id f11-20020a05600c4e8b00b0038c90cf1158mr6561123wmq.107.1648769270488; Thu, 31 Mar 2022 16:27:50 -0700 (PDT) Received: from pwmachine.home ([92.186.13.154]) by smtp.gmail.com with ESMTPSA id l20-20020a05600c1d1400b0038cba2f88c0sm11646395wms.26.2022.03.31.16.27.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Mar 2022 16:27:49 -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 v3 01/23] video: sandbox: Add dummy function for sandbox_sdl_remove_display(). Date: Fri, 1 Apr 2022 01:26:54 +0200 Message-Id: <20220331232716.241283-2-francis.laniel@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220331232716.241283-1-francis.laniel@amarulasolutions.com> References: <20220331232716.241283-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