Message ID | 20201116174112.1833368-23-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | 295cc38d2e562e355dadab9e4cecde60e77d0bee |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp3506566ils; Mon, 16 Nov 2020 09:42:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJwYg/49R/CcNAdIYlX7Xj7xYpXB26OY/3b2+S+uUmPF66/uVsZpCBBBUlzxaqz3CrVsk661 X-Received: by 2002:a17:902:d386:b029:d6:ad06:d4c6 with SMTP id e6-20020a170902d386b02900d6ad06d4c6mr13702078pld.31.1605548531225; Mon, 16 Nov 2020 09:42:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605548531; cv=none; d=google.com; s=arc-20160816; b=TSfd59GN4bKfyith9GeDepqdGLgh600DHt5VKxNp2xxCZyA2ZlLUVVlsP+aSau5SYV WCsjrepPmgiLq8YgYNw3JZXQzq7r/ENv4QQHmGBRSVI9SK7n5cC+KrXppIu9f1ARtnAG griDzJ25rMlqxDlHCq4T72xLbFDUVl7BXPyoUbR/PJztGLV9Da7KAbLOutjknke7+NXT x2AeSeMUvYEcmsH6FnPQ7Vpdy/3cEg6NahbiFx09seuu+IsTlfDggLdnUYpOmDEPKuRO Is9TaUN1Axy3BOr3JEkg+JTJ9cArTFRi6owOrXFegX3W3apI/9hYNNHH52fjaP8DGVLZ xdHw== 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=AdCNzvsJN0CCBIEuSMBbe77f3NmYbES0g9ulWItuCnA=; b=VyHvmMnDSGQZyrYZrR3o1lRQ88N5AGhW1/ShSOqccr4wW8TWapwmVWfcnfarUrDd90 lVRoelgPim2j/BLCoB3x2A5JiRChDbpf63bbhO9elxHQkTlneIDi/HwX+450ROHOjkSh CiDy4ozH/LGdeup2Cf9H8UUV5fpVbUO+nhyDM1T7OEaElkQ4tWtM1G0p3p3SgB1kFZnf PVna8EUk+Imzi/IPgyU8OCOA+Jkyi2bK1eNUEilhKvL3rLFNG1jyDA89yeoJCa4XhEfx m0TiQFp/iGFFWaMlsnUwukZ/pjR4aesMKcdiEPZkr+zZa8IgorKnsGM4xe9ygfUCf6X5 rczQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=rJZgv0r3; 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: <dri-devel-bounces@lists.freedesktop.org> Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id b18si5643858pgw.558.2020.11.16.09.42.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:42:11 -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=rJZgv0r3; 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 ED9BA6EA05; Mon, 16 Nov 2020 17:42:00 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6E45B6EA00 for <dri-devel@lists.freedesktop.org>; Mon, 16 Nov 2020 17:41:53 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id c9so35275wml.5 for <dri-devel@lists.freedesktop.org>; Mon, 16 Nov 2020 09:41:53 -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=+170YZVUptUVP8b8DCIuLCBL2J9gnyH4hHHhpysSOuQ=; b=rJZgv0r3y1uaooYzLQ77T067OtNBcziJ1kMk4hccmXIIg+vWYcZOw6hRxBvEbvrc0e 54BY9C/GyH3afuOmhUyh6oT2QBbXnogaeE9MwZ8W5t2+aGcJ3fqzTwm9tMeqqBDsagX9 9IkPccddWCzGVUmqxsrk1Dhwh1XIH8iyVoIKyOqo0YydsxRfN8zwh930DQ8CFItkCyld 8XlOZ70+ZtnSKmSDmqzspsXieifAqjySJVAavAWNnzUcekoawVH3eL0zRZC+k2YBSfqQ gUpEssUZXiRRFwtseSyNvOhXWtr/4Qbonpf5kRYeA35GUHQD3fpKSDAovTkR3QY/Vhag HIFg== 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=+170YZVUptUVP8b8DCIuLCBL2J9gnyH4hHHhpysSOuQ=; b=kQg1lbn8NduDq6italiPMv9FG0lE91VKECw2st3Jd8IrHxF+sp7NSA31FIJnBjQjhe 6pxnONiBOk34kr6K4cjzAewVGWAa7e+nDZtyU/dJAhVJuqqwZkUsoHD6gDWQ3Z2Y1A4W VdPooeqKygoEuP8yIBNCfqZQt1FsxXSaQtvf8/PA92qrYxGw5NCezmfmaDxyNttC1j6G /LqF1tby6kVTOBkiUBCkeZ0dedGUnBFWrsAyt5SFt76jggdLNIGTI+La3bn8bXWg2ZG3 1zdTkWlPxpn17WhUFv95g3Qu3i9aRpTEiurYbVJ7TKcoUzbnFyrukr478M9FrHtxfsfo hLLw== X-Gm-Message-State: AOAM530ZHl+lm414X9hwLuYouhunmjT41nsZojLZLCSamqXbXrLasicl /rbfG8txwlDIuPf8KXiNmexoN7qky1Vt+FWV X-Received: by 2002:a1c:6704:: with SMTP id b4mr28166wmc.96.1605548512097; Mon, 16 Nov 2020 09:41:52 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id n10sm24667224wrx.9.2020.11.16.09.41.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:51 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Subject: [PATCH 22/42] drm/pl111/pl111_display: Make local function static Date: Mon, 16 Nov 2020 17:40:52 +0000 Message-Id: <20201116174112.1833368-23-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 <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: David Airlie <airlied@linux.ie>, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
Rid W=1 warnings from GPU (non-Radeon)
|
expand
|
diff --git a/drivers/gpu/drm/pl111/pl111_display.c b/drivers/gpu/drm/pl111/pl111_display.c index b3e8697cafcf1..69c02e7c82b7e 100644 --- a/drivers/gpu/drm/pl111/pl111_display.c +++ b/drivers/gpu/drm/pl111/pl111_display.c @@ -353,7 +353,7 @@ static void pl111_display_enable(struct drm_simple_display_pipe *pipe, drm_crtc_vblank_on(crtc); } -void pl111_display_disable(struct drm_simple_display_pipe *pipe) +static void pl111_display_disable(struct drm_simple_display_pipe *pipe) { struct drm_crtc *crtc = &pipe->crtc; struct drm_device *drm = crtc->dev;
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/pl111/pl111_display.c:356:6: warning: no previous prototype for ‘pl111_display_disable’ [-Wmissing-prototypes] Cc: Eric Anholt <eric@anholt.net> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/gpu/drm/pl111/pl111_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)