From patchwork Fri Nov 13 13:49:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324301 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212929ils; Fri, 13 Nov 2020 05:50:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJy8VpEngMCp54vsgApOiz1SlSPLHHa63pkFjg2GbGjJGQKlJnI9B76lkxrTWcfncmnAfJic X-Received: by 2002:a17:90a:a602:: with SMTP id c2mr3136760pjq.224.1605275424008; Fri, 13 Nov 2020 05:50:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275424; cv=none; d=google.com; s=arc-20160816; b=g/OMsdN+PhJ344TMRnPerQeiILKwpqgt2dHV2S7N+lmgqXH1ohjsygbnzMKKi5IS7Z GWlLqRc8D0ZN2esrc3Chq2fXRBbhH6U4k4gTDZUy8VGnhytq2hY8mrMFTxZcsJ+HtNGX flJJrBWJss8BeUK8GWK8aXzCZl3KQX1/jBJQbH21jKTJMKT1o5qMxsEdmWlJonRpMq9w o4LsiqC2FcgYeV0VyYyOY8J24I41khsfcB+PB7u9J0eS/R+cB/4dOxow0EloDfx269e+ LDk6YPl67WqXI6DdQUTrvrSAhAEpqNPUAan2qjf0x4YkFKL8hyAA5KPmDSALH9JicM1l 0FFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=NnvEtVYCHcjPQ/2kv9vlQCij1egNCo2xffDZrZ7QFeo=; b=g4ak8L4y7DfaCCHL+jxkWlRHuVaDKfgY2aF8Yw0HE65Y8QfnbJwWFDpKSEaLJy7ef8 lb/9/JQlIPivOiHh0IDd4IpQoI3ZySk6m5Kp7hVO/9yO7hnRi5uKB0oBtrtELQos/NlM 4ts3/UZrqUiHtda+EFoaSIkqnGc1kAtY/bKhquOYNxod+6Q802TDWg79hYh5Ifc9BM3G Tc1lVNofERSfvmAOf1YQTFNNqT6GiO6resPuBcr6yiM1aLdoW+Fc3Jh2qqhJEdfji5EZ BuzAmaHJp6HLgZl7rktZjtEkSCCPVket/zPWeAZsq3VJZg/vx9QkVLNNHd8EcDarPiKW f5qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Cy0FIFBO; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id co12si7363007pjb.65.2020.11.13.05.50.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Cy0FIFBO; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E0D236E4FF; Fri, 13 Nov 2020 13:50:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6C79F6E526 for ; Fri, 13 Nov 2020 13:50:00 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id o15so9987226wru.6 for ; Fri, 13 Nov 2020 05:50:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yt85C2+NzGAlI5emEV4T+vNOl5giBIbnEfifffD7CnE=; b=Cy0FIFBOqKt9Owiq+Dqg7+C23huzVDETryFyww7hngaX44EDG2i3SfAegg/ufoaL2u uzX5zuxtv9ViDaCFPsw8oXmaaEtTFHVWqtn6aZ7Bvype0KXwKlw2IXtMoy4hRUdSmi0C XlbjQlhdV0BLzWGUf1FDhesPOdHZTy0bXVpBs8gWwToqFsTfXI1NibEEdysQ8CdwzdaH Rb+7WADVUWE0eDtwkGg3n46j/NSuLXVSqWKAMRLw/kmi/Q/MDBAg5abRJbcVE+XvI1TD uoRTVC/CIqtQpSsEKCrHaagzSqer6TxrW5YMW2V4zVC1UhYE2rLoBCyGTamzEAqx53j6 Y7XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yt85C2+NzGAlI5emEV4T+vNOl5giBIbnEfifffD7CnE=; b=TStqZQi3M//fasriDuBkrCvfLnwQKy7VQAGW6laLewfwxw5E6q1KpZAbLEWpR9QfzK jmVtxhEHCizQCAe4BX3iaVT+mZ+U0M8KAy0BRP4Ivkh2EY5LkpoiN5AbcRZ/Gx/HL5na sPJIj6B9Y7eUpEZBmRqo12DJr+HmxPfQaWWc1IA3IkD40q2Q70kxIW+gMoZ4tDbzYnzs IvkoQc4xMzq7J+2CFFe/K1yAyLDc8rQkCvkvphXql1XQcKgJa03UngK+32LALlY8j5NQ 7A6p8R1nh+833sddkuQza6UPhVPQHUel6l8FQM/m5+8T26ADaFqYVua2TF7eLzemep8z +U7w== X-Gm-Message-State: AOAM532DbEmgWxmoY2oAqJzpmkzHLoQx4kirm68SZiB4lsOjrH9a3vMb xaPEhmRdwfTD4OuLReLP823nZQ== X-Received: by 2002:adf:ebcb:: with SMTP id v11mr3575994wrn.408.1605275399152; Fri, 13 Nov 2020 05:49:59 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.49.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:49:58 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 14/40] drm/meson/meson_venc: Make local function 'meson_venc_hdmi_get_dmt_vmode' static Date: Fri, 13 Nov 2020 13:49:12 +0000 Message-Id: <20201113134938.4004947-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , David Airlie , Kevin Hilman , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Martin Blumenstingl , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/meson/meson_venc.c:893:6: warning: no previous prototype for ‘meson_venc_hdmi_get_dmt_vmode’ [-Wmissing-prototypes] Cc: Neil Armstrong Cc: David Airlie Cc: Daniel Vetter Cc: Kevin Hilman Cc: Jerome Brunet Cc: Martin Blumenstingl Cc: dri-devel@lists.freedesktop.org Cc: linux-amlogic@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones Reviewed-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_venc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/meson/meson_venc.c b/drivers/gpu/drm/meson/meson_venc.c index f93c725b6f02d..5e2236ec189fa 100644 --- a/drivers/gpu/drm/meson/meson_venc.c +++ b/drivers/gpu/drm/meson/meson_venc.c @@ -890,8 +890,8 @@ bool meson_venc_hdmi_supported_vic(int vic) } EXPORT_SYMBOL_GPL(meson_venc_hdmi_supported_vic); -void meson_venc_hdmi_get_dmt_vmode(const struct drm_display_mode *mode, - union meson_hdmi_venc_mode *dmt_mode) +static void meson_venc_hdmi_get_dmt_vmode(const struct drm_display_mode *mode, + union meson_hdmi_venc_mode *dmt_mode) { memset(dmt_mode, 0, sizeof(*dmt_mode));