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: 11903443 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70404C388F7 for ; Fri, 13 Nov 2020 13:50:23 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1F11922256 for ; Fri, 13 Nov 2020 13:50:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Cy0FIFBO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1F11922256 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.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) 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-Google-Smtp-Source: ABdhPJyB1aM/U0SYQBQS2sQ434uZIWEyyXQHKmq7NJg+pZgX9+e1LYtp8/RyoqCFrQV32ZTz5voxrw== 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));