From patchwork Thu Nov 12 19:00:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324238 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589331ils; Thu, 12 Nov 2020 11:01:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJyH1BcQz8FL+R4LE3cwnBJ+WRq1yCqyXyj9hCW4hdv8Bfk2efDlsKxAAwgEZP200pbXKct4 X-Received: by 2002:a62:1408:0:b029:18b:78d:4c4b with SMTP id 8-20020a6214080000b029018b078d4c4bmr888846pfu.25.1605207699724; Thu, 12 Nov 2020 11:01:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207699; cv=none; d=google.com; s=arc-20160816; b=TJlKU6U9Ajcc9sm4Yio3BRtaOTqcoD9UVEvoZ0ahwEp/QoW3rQOefYw4fqJVknkQa/ pRyRUrv0JKfCQRJcxq6ydv//o1ucV6jovUfKDJCVxIFAZLYT+INU0TFuCRyl77rcEgeC 5SzQbzf0SNuNY8qMt44Z/r8vsQLeG/g++bDAYGi5IuMLZ8nMnHdGgl1gIh31tJf5QDCc XBaTOl4Fkku7od0xzDiIvIgBdfmHKRULs9r3hGZ/vdaUYTbXCFC8ECfAbBYOEbnMd1nD Z6wK8ayHsQGjbz8AWKQEb0pdoSr4FcyhS3FkvZ8P6dnTMLiAYNVCVZ3QBorPPUcEqddK CRhA== 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=WbplkZDM3Hr56eB9y8zH/01xVS09Hn1g7uH08oQNXs0=; b=PWb5LkBMjTBC3FJynQv3Oh/RfQCyiKB9XVnpPoulJkm5rqa/AK9VvmB2u1RbuFpMWs SFtFRB4QTVSwyeCHKkQ3u5vUqewMYDfFK4tM2sj0C/zWNG1OEQxoaOBxpJu+6ji4ib+C +a5tu/NLDZjJgsr6sYxzts9D+yG4LOFPscAqOAt1JXlU4dt0F7qBenz0qdgecsk5LeI+ 9qR9mxWnybXl0Q6hW1klEhaUD4/trLA6QV8BcD75gaUz9mZMzjj4KtQvQ81oKUVo1tKL cvpfCL0mf8+ytk2lIQoObCrwHgCUjJsAb/iQ2fx59yJuHIcamsI/RFkdZBI9BkiKK6tc 1gdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TYYnc+JT; 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 27si5499561pgw.463.2020.11.12.11.01.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:39 -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=TYYnc+JT; 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 9BFCC6E3B7; Thu, 12 Nov 2020 19:01:38 +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 09AB36E3B7 for ; Thu, 12 Nov 2020 19:01:38 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id a3so6420818wmb.5 for ; Thu, 12 Nov 2020 11:01:37 -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=wySX8cNvv9NUCsmEXsR0JBc7XJM0MHUH49ItqBshbVE=; b=TYYnc+JTtX+7g5eq1yvtLhuta3frJKaGjJnmhpp9ssLYcLhSlYVMBIOWVkhID5dXhy s0fOBHL3PKNm6fWy6QXiAIvJgwepaT9f6/pLhP1CntWD8Qpb1yak3htNpVOHksCcu2C9 t4Qtnlq8kSQMdGxnccItE49u5fTKpnXDivlcqvMyqj8OHuw5Y3paAtOYRb36Kmbrev9o Ys/VjaGC/LobEWcR+ODlkmq67ao4FjFVmrEWhiWfRf5fIaJWwSc7GZLiSkb+Bf+hM1lp 1T2eUHPmvgHaMIcY1zz6E/B0c96U35SHIq7MT4ptq4uwr0uYFsiChoj6PBePbph19uqo uASA== 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=wySX8cNvv9NUCsmEXsR0JBc7XJM0MHUH49ItqBshbVE=; b=eDmGdDKgA1ZbNV2YavpnpGPKcfGggaSH5M37uWQpFjsepyK7TkhOotHVKgVF836Rh2 PTwsFemgYhStN62s00HL1NPt3fmK4KAmzL7YFZKzUCqfpzRonEvb/gSEQ/RvEi+eAC7H KQPswa9W9JlHw8Y4y3XQ2HzzwcmWGtFiWEhyNUstvYu65izPuJJM6P4+DvAX6IFKZZO6 9w9eEw3iS1O7MfLWycBoGHP5hV72+hx3YnARM5WQQkW9xTWYsQeyGSgGquCY9Otx0Lcr FQstfcGb5s5PmPomLzY2+vdeLzidyOmEwZoZS8TAqt9hBaAFwi+Rr70WT4xKun6n+tg7 NYcA== X-Gm-Message-State: AOAM533yv9ht/ihhmIzEBL3qrtV9dUJ//mq7WPxGxbbnnhIhC1kF+ZeF LVtRDr/baM/JNZKXyILgQKH2Zw== X-Received: by 2002:a05:600c:4147:: with SMTP id h7mr1060841wmm.186.1605207696742; Thu, 12 Nov 2020 11:01:36 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:36 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 20/30] drm/armada/armada_overlay: Staticify local function 'armada_overlay_duplicate_state' Date: Thu, 12 Nov 2020 19:00:29 +0000 Message-Id: <20201112190039.2785914-21-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Russell King Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/armada/armada_overlay.c:329:1: warning: no previous prototype for ‘armada_overlay_duplicate_state’ [-Wmissing-prototypes] Cc: Russell King Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/armada/armada_overlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/armada/armada_overlay.c b/drivers/gpu/drm/armada/armada_overlay.c index 30e01101f59ed..6346b890279a0 100644 --- a/drivers/gpu/drm/armada/armada_overlay.c +++ b/drivers/gpu/drm/armada/armada_overlay.c @@ -325,7 +325,7 @@ static void armada_overlay_reset(struct drm_plane *plane) } } -struct drm_plane_state * +static struct drm_plane_state * armada_overlay_duplicate_state(struct drm_plane *plane) { struct armada_overlay_state *state;