From patchwork Fri Nov 13 13:49:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324324 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1214625ils; Fri, 13 Nov 2020 05:52:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJyA+zAD3pxlPTaFVAhI80MtZ0kxi83pHvKnhkSWRbaBdUQ6x5KD1cfz62NS2SXtbRfJEqQP X-Received: by 2002:a62:26c1:0:b029:18a:e262:b6dc with SMTP id m184-20020a6226c10000b029018ae262b6dcmr2008080pfm.28.1605275455965; Fri, 13 Nov 2020 05:50:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275455; cv=none; d=google.com; s=arc-20160816; b=HYSMGHMnHYdd4TcxCp6r5aifExH6UmzlHTo/gwDRgkghrAbUNZM21jXSBlSECnigr0 KC8i/VBwsdqutsJfIJy8KtGFfxc9JVHXw3MA+/5aiEYA/81/fzgmVSjNTW7XVPL6oU7u ePo4Mw3nJjVplsuJnLVZoF46vsWj7u9dnf/T27jmu+gx1laLHHWzoaLGXviywQEZJGnh jLN5fuMOTWb12Pco5rVDdAAcQAt+Q2iyYZ57eDv5fOx/eWFcDn05E2vvB97KtryxjhVx NR+p63USA8ljRLKg2RK2Cka7qkBNE/WuZXZsJ4J6SmxupTGOHVNQTju6Vwr+VV68VTnw 87sg== 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=R/JUyggdZSjL3uBykgx77djLHhv+O5FI64+Cl6W/zts=; b=TnfsljVrJV5VFlnRhiQwtQiSy5UxTjDOV2bHOUOiQWe7QsXOgHY44gPlxz5AJHoe2n dlMCgJoY/jbnOWFzma09/ldlVEUk8ZEIzXjTXWAQiKXBpyZymte5P8xHdRRCzTmmt+tD cJ/Z5mFkHq2wAh8k20F2J56vscWX+AEsNGAhq5FzCvJo6i6tPnFacGH95TfpP6zHq8+J 8nwK+yvIx1OufvzAaA4OjbEXkvy5Fr14Z+o+h4UR+47eOuUGADWuNvzcx6nXOsNNweA1 e1L4MhwmxuQiAPo/WVJH8aijmMahZamMQRBUhe0slCGefWoHZtyRbc7UcjUhlVlpGmyA CQMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FYPms3ZC; 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 p2si7954311plq.9.2020.11.13.05.50.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50: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=FYPms3ZC; 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 EAB296E520; Fri, 13 Nov 2020 13:50:45 +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 C8A876E511 for ; Fri, 13 Nov 2020 13:50:26 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id 23so9966513wrc.8 for ; Fri, 13 Nov 2020 05:50:26 -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=B874/wtDOWYUimH8rXUdl9sC7ZHgpAhfTu7itpIsNws=; b=FYPms3ZCfPub5iaespY6VDZIg/UmY32Kvxev64zmWZOrrM4041a5OdDqUOv0kfH8AR 3C7hNCP7cHZ0v/h4e+8cnFjaoPM8bPL36QaZW1kHFqKjLzsUm9UKnD/r5GWAm4pm2JPF m5GQZ7E6qKCbUWYUxZW5hhW5RsOh+iJOedQtBtLS26vz4XNap9+BnUufDta+Z+wuno/e cezrhZqtIg08ewYF3AS7M96FkeJ4tPgEl4A+tx5pyJ207sxO1w/43KMcuKFKdyaKLigI 6i9UleZKkZeYOU5nKl8O3JdsOZp+ZshJ7jnDF06QFnQyRtCjg1Swf0tfrvn0v6E8IYaH nyqQ== 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=B874/wtDOWYUimH8rXUdl9sC7ZHgpAhfTu7itpIsNws=; b=A1g0YmoHK9P1hHhT6jL14UnpfvhqTSB6PBuKvIB4aOUhPPJy1CSDygYRO5INfiqPSo nL/3KF3EWAufeGtlLE8nhcLk+eU4KvmA9g4Aa0niSlfoNi8cpHVq5Y7T/DWxgSw79UZz w+thEsrrH1hmvR5Ugb+2cA2m0DhLQ7sOl61bSl5v8aKMaPy5MVsBU8myb8PDt3y17o2m cjU3qvbQ8p09gb7JAZSYTIiF3oFxpxupxzEHX5GUAxw3z2NiNYNfUcV4mD0GEa07Nv+p lJTaYZf8VsOWhq8WlV+Wam7BO1OVWGcA1f48AOQPtc/jbejC0Yy+pWEdyaosR4aUGNS1 VCGA== X-Gm-Message-State: AOAM533Fi76PFx4mt+tVqIvJwJTR48rG41aCDbMEaliviLB/sO6PNFjh Uv7wF6OafSDpyGQPIvLUkao5jME2RRNDt1vP X-Received: by 2002:adf:fb0f:: with SMTP id c15mr3487064wrr.86.1605275425504; Fri, 13 Nov 2020 05:50:25 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:24 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 35/40] drm/msm/disp/mdp5/mdp5_kms: Make local functions 'mdp5_{en, dis}able()' static Date: Fri, 13 Nov 2020 13:49:33 +0000 Message-Id: <20201113134938.4004947-36-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: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Thomas Zimmermann , Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c:299:5: warning: no previous prototype for ‘mdp5_disable’ [-Wmissing-prototypes] drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c:319:5: warning: no previous prototype for ‘mdp5_enable’ [-Wmissing-prototypes] Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: Thomas Zimmermann Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c b/drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c index b3eecf8694771..15aed45022bc8 100644 --- a/drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c +++ b/drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c @@ -296,7 +296,7 @@ static const struct mdp_kms_funcs kms_funcs = { .set_irqmask = mdp5_set_irqmask, }; -int mdp5_disable(struct mdp5_kms *mdp5_kms) +static int mdp5_disable(struct mdp5_kms *mdp5_kms) { DBG(""); @@ -316,7 +316,7 @@ int mdp5_disable(struct mdp5_kms *mdp5_kms) return 0; } -int mdp5_enable(struct mdp5_kms *mdp5_kms) +static int mdp5_enable(struct mdp5_kms *mdp5_kms) { DBG("");