From patchwork Mon Nov 16 17:40:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324492 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp3506374ils; Mon, 16 Nov 2020 09:41:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2yxnVM1XP3J0qdDYEKOse9r17gRBiFCe9dkm2wQlkjRtwIYeJjFVafG5PiW9vkgAP+OkV X-Received: by 2002:a17:90a:588e:: with SMTP id j14mr46833pji.30.1605548515604; Mon, 16 Nov 2020 09:41:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605548515; cv=none; d=google.com; s=arc-20160816; b=QYpUZcvIxsUH/Ssj0Z5aUVkaPusccroPuMoY9QWtQqd59J+q7618Pt7WwpFUlcKN8P jSdDZZWFWG5dyCI3sQSvjlRwNfSvxLN1tnijq4A6bz+Zy1Lv1+gGHK12iBfMYeNxwf/2 nKjKdOkN3nX7M35EtiwNSpG8H1PHV1/oSCl6eKeq4uW9k6A2TX3P6vA3f5CMAG/lwRSc okqSewsDxMswejqCpVHVBtVziaErfyma5KzXsbISvbbrXER7eE1Po7hYWmfxIhp5/I7Z 28mQgIO8Sg1zhrycHegVoTrI1sSL6daEmJAI0smmOKF5HRsA2mRmpjuYT/r4AvA7d6Q4 z6kg== 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=NJypMlKm8WrrLGHDtnePyyuWepUXVTrbldrCHDjj6sY=; b=dfBdxLwihqpTXOGdGU+eW6pAK2mJpTfciLcb6g3dba7514FJQzeHSRnkXg3DmkDWiL +4CRDZ/2UR+BUXRwRRWNmhT3ct/DVXCZxU3PakGd1QpuwYSn5m7aAtEplS93XOmhortF KjSzH/mFIMUkwRiOlE4BzNdkLZt7CXDjpJmg6abqph6fYcwBX54deWhZOxf+GCFR0wyo a7d0pa5UP7+fRhjXv6JjuEp9Fnim3PHPIRO+B8gh2M/FqraY4EudktJ0ZrlqIQSmfKbz fNJMheYabzX3npk6N+NEIVYfnSdV53ypDTLUUxmBwwqYNT69TlI3fi0DyimdpCW/QoSn DnZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=YVgEUmjS; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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. [131.252.210.177]) by mx.google.com with ESMTPS id a3si12565777plp.421.2020.11.16.09.41.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=YVgEUmjS; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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 8BD816E9FE; Mon, 16 Nov 2020 17:41:51 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id A08C96E9F5 for ; Mon, 16 Nov 2020 17:41:38 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id o15so19658373wru.6 for ; Mon, 16 Nov 2020 09:41:38 -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=i5j9nO6ToQvZzh6GJLxxL5NsV6KcH6bI4EH07Iu89H8=; b=YVgEUmjSraSC4YQk46p6uPgedVESFPJ3UsJO7Tu4f7fuWARoplJS6YC3o97e91JkZv cBJvp40l0dgXRQaLlTpEuC2Q0uQjxFAwNIn+7nMhNDcFl9mgKct6xkqQsfkHOtazXz+2 0vtjIjV1rLHuQlghb40vINrSHBkLUdnkRlbaH3ZaQRgQRO3OPNBtpNrxK6JPR7CTnpxq tdZwoh0efmPizM+AxDTig/MH+rwvLAxSZ445H6Y9Te1xq5aiCAH4ok1RxdGRQKkSivx2 HbtPLYE+ge6oxVRG/WTMb8LBqTG8kvBwxC8wW8p0HVl4kN8Y7Tn8G1Id1wAgUtBe/mLD s0Iw== 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=i5j9nO6ToQvZzh6GJLxxL5NsV6KcH6bI4EH07Iu89H8=; b=TxeRwMobO9QMzbw7t6N3kFMbWqEP7VQ5Fw+susqvTlkzKDGAA77EnCgBuGcOL8lV9Y iOLYBqz/ROXLm80pcjRRoXqKS8IeG8X1del20eEVkv6h8/aLKv6w+P5Lum2aBkkU+ivO bVRLauJoe56+AAOb6oAD1I8s1OjbuHUIYOzDIfkupenMab38423nVgK2uKR93G04u3eP MfaBwhO8hI0x6gMzv8V9oQPK0UOb/v3g7K7By05sdZilk6pqe8J/JQJv4yktdEUxLPFl v+Y27JKr2b6VG6Xub9Sx6xi2cj89BH8+iqw0+nnmTg/cxcdVbHu9H8L66mn7vTY6I4al 46eA== X-Gm-Message-State: AOAM530Mq0ivM5wck1D65YQGQ+8xW1x91gMWrw4Kf1db4yjmGM/9h0kg 6QaewUZY6zkAjFQv9oAEjDbzsg== X-Received: by 2002:a5d:6992:: with SMTP id g18mr20417522wru.362.1605548497365; Mon, 16 Nov 2020 09:41:37 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id n10sm24667224wrx.9.2020.11.16.09.41.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:36 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 13/42] drm/meson/meson_venc: Make local function 'meson_venc_hdmi_get_dmt_vmode' static Date: Mon, 16 Nov 2020 17:40:43 +0000 Message-Id: <20201116174112.1833368-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201116174112.1833368-1-lee.jones@linaro.org> References: <20201116174112.1833368-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));