From patchwork Mon Nov 16 17:40:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324494 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp3506404ils; Mon, 16 Nov 2020 09:41:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJxqwXilmhzP3M1cCihlTR0BwvnJ/jsKOiXB92redAgsTeBB2cRiR4ZN9Put5jdyKWKcdfzj X-Received: by 2002:a05:6a00:158b:b029:18b:fd84:956d with SMTP id u11-20020a056a00158bb029018bfd84956dmr15287458pfk.22.1605548517809; Mon, 16 Nov 2020 09:41:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605548517; cv=none; d=google.com; s=arc-20160816; b=AzlYX20tE8uDW0WgYitl4nIw/O2ekbDy3gbikTKfrU3zPBZRGbbq7EFobIhBN36gHq LwKasUK/tXMQ2dK4s4gL+shhQn9j6BfHhtWna2TcDOfTGOJo77NxG9xkr1MVi1CYpobv fKpvLheEYWlD1mSJ+6PD0ky657gjqzE0bjTuqMTtr93Oinkovldtew0g9rf2VGenmYEK 8sOa+s+FPW5rQgL9prQjUqG5TglOrmslZIDHJ/ElFhU8ruh5IefFXfve5bBrT+LD6ZRn /ScuZ9nbnw1PGHoc5ZyO8vfWN0VOcAo0i7kXHDjeK4y/hZxZNav06yS5VmbeSbS8EfVq OZYA== 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=7JfLyFFxWbuOILtpmnT7k3iV4fY/itP3hueiY8yQ7NY=; b=uohQpW5ILtZco5uET5cChKQMGvxTBuNYC2NdfX1yuHCsabGiTgGPkj9mtss9qH14SA 3xnpe1BeSGafPdj3ahSxsd0QDTQIm6cYQ74R46VFYh9O/38HpKVlvrM/H+VNFodYvBVC pXwCLLAs1nErlBJ5T4JNYHK184tJ21E6xcydJgZ2pQGbOR85thpHtBZf2sL5JQfBHBUO Hq3RoGYnHg8kmkQnY+FH/TS16lDlq5LzUsNGMyZMOGX6FXG9Dqs8yTuHN9L+XIRS81eX IgwtGTHTKWeW5au08wbuaV3CPzA5trRJq6SB181jCD7Td103p2lkatQ6RjOFLnJ1zD72 GzWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="CpSZkmo/"; 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 a28si16644616pgd.138.2020.11.16.09.41.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:57 -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="CpSZkmo/"; 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 824CD6E9F9; 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-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by gabe.freedesktop.org (Postfix) with ESMTPS id 249206E9F7 for ; Mon, 16 Nov 2020 17:41:40 +0000 (UTC) Received: by mail-wm1-x344.google.com with SMTP id s13so33593wmh.4 for ; Mon, 16 Nov 2020 09:41:40 -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=SDDB7TiTj4Jx/yTpGVCS2uqUdyiewZ4Ioe8JHQpewVc=; b=CpSZkmo/j2Y34JQwmQr2gL++XO1KYPcKHx6aqjTMLngU/acwN4t98DrtpoEAR+uHeA LEd2aN+YIEqfjA8qJitJOl7OQDlvxN+ELOtvUyVfK6NYEUWOZlChIVs4nqcg9elGQehe Mlbh/kBNojHRJE8HUO/6j3KiFXWV/lY/H0EeqDJEMCmSSqc8uetWdcK7KC1SKun3LNfM OsAvUf3KGN8GI1Q88IWDJ4JqQ4UIzj7/9UKQN0rkBTAyNfaB9AD252Kp8BTqLX7Ree6o 9Df3tJOHKVus3QnMsM1RqTTwVDZxjAWbtxLYFmHOymQolEp5oB4vsX1J35OYld7qBk2A gtag== 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=SDDB7TiTj4Jx/yTpGVCS2uqUdyiewZ4Ioe8JHQpewVc=; b=Kg6faPN7vKavaTsKLc0L+SbbBTXFaJWP0IudXcny/AEz8nYfeP9u3fyL6D9GskqXO2 TFSfPZwYp2e0K7FYmU/rv3fTQ1EtGrE3pLQ9ap3g8mrpFgvh8SMdD7CR4ynFj/Z26qAg OGRPTx2ArkdimCh8lj/nl9elhf8JNzWh/Vpl2kUTvZiMNuvvAKTUqW9hgZ170pids4MQ QkkPgwjdGCmPXkFshzlfEfoB1ZK0n+pjQJN+wfwNwQokkZELzg4BIXz8jn5T6oGweqE6 pYkh1EheYt1OQWWH+bvCCA+9bzsd6y2xxImauRPPIiSPkpfOCQ8kwqLXxNYMJ5zQgGCi vIig== X-Gm-Message-State: AOAM531JeaISoUi9LnEYnyyhFW2awE7BtgkKy5ev/5vZd6YU7Wy+uaud EQufw0S/lczJTnj5u9dtHY1V5Q== X-Received: by 2002:a1c:1fcc:: with SMTP id f195mr10459841wmf.121.1605548498820; Mon, 16 Nov 2020 09:41:38 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id n10sm24667224wrx.9.2020.11.16.09.41.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:38 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 14/42] drm/meson/meson_vclk: Make two local functions static Date: Mon, 16 Nov 2020 17:40:44 +0000 Message-Id: <20201116174112.1833368-15-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_vclk.c:134:6: warning: no previous prototype for ‘meson_vid_pll_set’ [-Wmissing-prototypes] drivers/gpu/drm/meson/meson_vclk.c:490:6: warning: no previous prototype for ‘meson_hdmi_pll_set_params’ [-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_vclk.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/meson/meson_vclk.c b/drivers/gpu/drm/meson/meson_vclk.c index 0eb86943a3588..2a82119eb58ed 100644 --- a/drivers/gpu/drm/meson/meson_vclk.c +++ b/drivers/gpu/drm/meson/meson_vclk.c @@ -131,7 +131,7 @@ enum { VID_PLL_DIV_15, }; -void meson_vid_pll_set(struct meson_drm *priv, unsigned int div) +static void meson_vid_pll_set(struct meson_drm *priv, unsigned int div) { unsigned int shift_val = 0; unsigned int shift_sel = 0; @@ -487,9 +487,9 @@ static inline unsigned int pll_od_to_reg(unsigned int od) return 0; } -void meson_hdmi_pll_set_params(struct meson_drm *priv, unsigned int m, - unsigned int frac, unsigned int od1, - unsigned int od2, unsigned int od3) +static void meson_hdmi_pll_set_params(struct meson_drm *priv, unsigned int m, + unsigned int frac, unsigned int od1, + unsigned int od2, unsigned int od3) { unsigned int val;