From patchwork Fri Nov 13 13:49:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324303 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212974ils; Fri, 13 Nov 2020 05:50:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJwItGEc+/yIwXwAbj3a7va8WR9TbpYkgkKfTSfWTxhbuk829hYWzPdMcE+f9GBU362gg0v+ X-Received: by 2002:a17:90a:680e:: with SMTP id p14mr3328163pjj.34.1605275426802; Fri, 13 Nov 2020 05:50:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275426; cv=none; d=google.com; s=arc-20160816; b=jtmHvr9qHlPYroc5BOhTQUq3TtNR3micpGBQRjeqEnXs3zw/9ohtI8kQswpRw2pr7q 8ttVNivfaJOo+7yuY3UrPolVJoKUekxUWZTvW8OFypqtFGs4VLnnIQmL2o0zYKnGKwVS h8fB0IA0RMO8Z5yAUVviW3c8NAykwswS6Ll9yPJVVnQv9OE15wYOQc/zDQYmS3uJpFsS X1LLhlcQ6r1/zVBWY4H3nDFmZAuE8iazI7VOce61ICarBxFdjrc/KaTQ0p/9lb5vMhU0 zjjFoRBkj3XjfSyX1cOdmkLqBKg5AX1yFNhtmiA8bG0QBYWNFP87gpEdKlZlJBHPK355 RoGw== 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=XiZRMHnvksbwRbRqPGe1mDubur2APjneJBcryTBZf20=; b=MjEvy/UJSF4t2N0Ahala2sRZCg8xlCZfUcvyVyzktFicxPlNiiVLTixebAXWLmJ9FN RcFxP65JBXUDEUWNtLwf76L9fvf8q3U2iNLffEZ1rbYPEJB42KsVzPj/1MIN37JYdurY xccZGqR8LAsqvp2NytOuIQ/3j7fdFDNcl67aUIkEkI7m4SsQ5EBfEFM3jbo17VU22O/F oEU1nCk4sRsoYaNKMpObASd6V4vTyrvzoNYBuVSCFBYQ5vkCmH8fKVxtm5FaQBH51THA BT7DFeJaQpbc2zFQK4yao24UUKrTW8SxN2aN0ApoOpv3NHf/stQfJGxFsD75HHjhf6l5 DtiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=atNqYZ8k; 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 y14si7672157pga.435.2020.11.13.05.50.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:26 -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=atNqYZ8k; 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 656AC6E523; Fri, 13 Nov 2020 13:50:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7973C6E4DD for ; Fri, 13 Nov 2020 13:50:04 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id u12so2763571wrt.0 for ; Fri, 13 Nov 2020 05:50:04 -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=FPP0KPBE9bJ91PMqYQecftz5TXmHEXYH6/4+Sl+qsTE=; b=atNqYZ8kRbRqU8GNbprKEAbi23pRTlYb5L0MmlYxC7m6PmpZNGQuhqP6ASY22r5shn j1W43Id8OBhgGoyS3zM/JamzfB6UNXGFblqrp5WI1jIz1bxgmVD6gTxPvE+CWSipHFfK 6n5Rryizvvc9J6mIbOwX2TP6WkS9/ZKzFI+xgT5oMcJ2rpcOtdgCpf7WOcrRH78gg+vn ywhJNI9DQHewqFej2ROXNGRf0ixudva9FfMawIBD5Z8MJcrzAIPrTLPNKGoydcPVKRLU 1JJPW4cqi4cGWAkpwJmhjSGNo2ofbJA1/N6sih1n/2VAD+c9DbDFpseCcXv1ncnGQMxr QadA== 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=FPP0KPBE9bJ91PMqYQecftz5TXmHEXYH6/4+Sl+qsTE=; b=BoHov9FrhnJYEMqDBnNctVWQi9ckh+NQsiarb0gecpkPBcx0xCN6tf4MWC49Hkj0SU WIzG9AyEN73tux62HlHZ/NUHkzxsF1eUWwwsTkUwcxY6XpdqA9P0AQ3SO4DMhuJ4L1pP J4BQr/2dspI++7dbE6tnvyWGAPOzbFQExggRnMk2os2OfYk3Wkc8PUcLp6IZkvlrXHr2 /IR1eBGNfXTU4RJJVHv0CXSx+RCG89o+1F88Ga+0On+ZQf9/j5snMfXCAduNomZZpVbZ Ma8aG/funzY0Dnn0+QPbkSue9yV3lku9cOYyFmfwR0Dur+8eI8q1zqyBxtA/DSRZNaSN ISBw== X-Gm-Message-State: AOAM532/R11COB7dh9NedQhnIb3qkTeO+2A4oKQSXFhF3IS4+T6pauuH fTsMA3U/z9dozPCjBNK+Cu7ucQ== X-Received: by 2002:a5d:44cf:: with SMTP id z15mr3550191wrr.353.1605275402684; Fri, 13 Nov 2020 05:50:02 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:02 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 17/40] drm/meson/meson_vclk: Make two local functions static Date: Fri, 13 Nov 2020 13:49:15 +0000 Message-Id: <20201113134938.4004947-18-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_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;