From patchwork Mon Nov 16 17:40:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324496 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp3506436ils; Mon, 16 Nov 2020 09:42:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJxA+5XAWuU56OEx8HmKvbyYik3cNt7pAHM21xN4jVUVIQpGlF0QxxJDZnGlVjOGM5KjMtTV X-Received: by 2002:a17:90a:4d47:: with SMTP id l7mr16991338pjh.121.1605548520307; Mon, 16 Nov 2020 09:42:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605548520; cv=none; d=google.com; s=arc-20160816; b=WcDI2NkzccaOl6hJ8dR6qxv39GQF7w4NNZJxT8cGU1aUwE7Fq0FBE5tZCJrR8Ctnhf KJLY09dXTgdHXjIJTn9Ae3KvK3wfSs2LgPH4Kl8/bWbzBmBtvfDYVvoMe4DwGUtM4oqB +roBhYDZPCOgTZ229sxfH0n/vskOcU1fMbiFGzzUG38sq2klGOdwHILIBuofOd7XNovZ FMIVR2PAJtnL840dDaG1qjHh0g82vgin5b9TKgoOiuszRiAaC7pDe0/8Ss28UoXT5Ldz 3uWQcHnGjQ/XUuSM4o7BXxZFIWfAfRXzIVp2VzGtTsIHJxiaiAi+AqhSMPFBbvuICaKS MAEw== 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=TZpORk2GRMwsHIISl+oNBTe9Yuoe1uXICeJOtcyTmEI=; b=oY0X/z5zH4Dnerj3hlTXEvYMxxILnbM3LiCIpF2uEbv5EnNbLdDq5XNTVZOwbtGAnq /aIr2N/SAJXgMjojItkf2gFf5hhKTmpNw0Z3mcNc3bVQ1z5M+QnYbklnCCfQxNoW5Xh/ Ai+PVo60BmHq91S2b148wyH182pfgwBwST/OOjp/rMe4SMsFZdpnlnFZfMGcWjbqwwNF ZAtV6r9BCyvxeIQzRGknLnP9lXBTCCF+iDa5Dbi6VNB0BADf7N9Ts3PB+sSBLGzllXkh k93usS9TNqkU7MhcF3Afj1yBnOyTg6/FWGnov+lOG/eWS0guVQJvH7+MIkTJXEiCNlxI 4byQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=SZzvnaPl; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id d5si16389637plr.46.2020.11.16.09.42.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:42:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=SZzvnaPl; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 38C8A6E9FD; 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-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5B4576E9F5 for ; Mon, 16 Nov 2020 17:41:48 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id j7so19656892wrp.3 for ; Mon, 16 Nov 2020 09:41:48 -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=zaOWUirapOMKdJjjw4CYfsGkQWJEzsRRXuyaScDdWWw=; b=SZzvnaPlGmKaGhwLDI8bK/PrqeAqX3Tzh3PFCfAojHswVs3cNeVXia8ZyyNr/0HKml 0Z7cEu+HZ/LfqDgJH3XVE36FVTy+hRhvEH6UZwZ2iS/UnxNr3bpr+YcDcNoJLSFym2sd enlFXh22dS+MhLz8hfl7RwQjUVJ35/+HjAKVQfY3sZi/xGOXVfq08KxiPIJiTHQFtk0O QivALG0h+IlOt2wmevscLXqGad1jp/hRwb321/w6WSfb0PErg240VG6L7pYaiGwhMDgR 3hEM11SF8rorHuesj2T5fPLYilixaTFMkw/mSdNSJzVMFQLZqGEYLLtPFfziBjOOp8/h t6NA== 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=zaOWUirapOMKdJjjw4CYfsGkQWJEzsRRXuyaScDdWWw=; b=ZdyX9li8hKVW94PtTw4Avv3odjixCKWWYN0OAwajsmB/n8/UehkGAPJblFjAxx6khD e9zJNzjo5ZSZzSBNESNznmTyDTED/nnks7kR91d4cNwwW2qMrjYLchuFh4Js6Yhn61bx xODxlX1rlX0wJTTNGFCNh3Z9Gs3ZsRimPAJzPOa3xm334XISFWfI264iuscfW3xhiwkb YZXvjKumYa8P3pPVBqm+lrbW+jcbqd+VCJweAvte2LbXqTRcJMoiqOosFKxp/i9TV01V yRGyEFJ7sdF/wTTVNEnXM2E4ozcmzyN2WXVfphCFV2lx021Aqa0P9bQojwXmzb1BfQFw geKg== X-Gm-Message-State: AOAM533uI5ZxeBb7YOt9oxMJBcXqyveJ7KGA6BgOIx09Dt+Dx6W4FkkF 8FlKX74NwR1NwftNUuFB3xeq3A== X-Received: by 2002:a5d:654a:: with SMTP id z10mr19192489wrv.285.1605548507104; Mon, 16 Nov 2020 09:41:47 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id n10sm24667224wrx.9.2020.11.16.09.41.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:46 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 18/42] drm/msm/disp/mdp5/mdp5_kms: Make local functions 'mdp5_{en, dis}able()' static Date: Mon, 16 Nov 2020 17:40:48 +0000 Message-Id: <20201116174112.1833368-19-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: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Abhinav Kumar , 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("");