From patchwork Fri Nov 6 21:49:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320849 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1657116ilc; Fri, 6 Nov 2020 13:50:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJw4+05bzdQVnQI0bdUieXRIWYgVgUGolHdXl0jGBtzAGcJEadxsN3jUvZDNeehDVferQtiG X-Received: by 2002:a63:1e5e:: with SMTP id p30mr3300068pgm.159.1604699417997; Fri, 06 Nov 2020 13:50:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604699417; cv=none; d=google.com; s=arc-20160816; b=gAVCnBAAdyL0/l8reMdNYekEFQkxPfrQ8vmSVwJdA9hyQIFz360/Hwo3gUfK6mw5bk Og8GPeHRe+okGuTcTZ5Tm0Adny0TQnvZ3dLJT+R+sP/DZ6hpURSIqE4NYB63+vJafKHa DoIqsZ87jXqlh+Pp00nlqXscmx4GHNEKTeSn5TbdEibcFJmTDR224PsEmixn5CMZkuE8 MUeBMUxb+ixkoLCP+vgbbR6JkJPF/lxCupM0bIS9hMFZt6FDooUg/nO5i+NolFWzau1W NtRU+b1yTqqFhupaqXYmMsHouu5KWd1YGthxYCQIRaVAeuKAnacA2/lHR4fXZd4Dq67a qr1A== 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=ZPGI+t2uUyMsGAUjtQqxPncpBOAq4UgIgCZM3s0XXZY=; b=lvUtJtsRd5GunRWqpxwJBl9W+YDZbN+l95tkWaa6oZUOXhFMKpCNDX2GSjtjBYvIDR qmd+OKS31e92hCymEG7b7rR/1/BotHzjGJyFef8C9U0nWIrW9TI2H4rMe5m+O+i/lM2N Ycuz5U1WiHkzGt2s4Lb+tnhwpBo2rg0siU75hcj+9YQNhctOX0RPFmJwl5y9ADEtYLd6 72tTuHP/V+MVILPoR2BLnulZ0JSi4qRULi5LHBhKPg6tyocJNkYN3N0IIDDFcqrA6+10 dD4AMcUvXsr8dDrkNWOcAojy2DvN1gjjDsNZAkYigOZcCi3N0+c3enxqD+/jU5mC5IKC v61w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Gzq3IRI0; 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 a10si2157915pgl.446.2020.11.06.13.50.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:50:17 -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=Gzq3IRI0; 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 0DE2A6EB2A; Fri, 6 Nov 2020 21:50:09 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by gabe.freedesktop.org (Postfix) with ESMTPS id AE9796EB28 for ; Fri, 6 Nov 2020 21:50:03 +0000 (UTC) Received: by mail-wm1-x344.google.com with SMTP id h62so2646777wme.3 for ; Fri, 06 Nov 2020 13:50:03 -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=vkQ+EXF2yvxMQDq5My2ZO6G3Ve/ySfBy90ygkHt2VtU=; b=Gzq3IRI0uTFVZlLkG4qnK9tDKHmeGHf2mKcsxo5k/h1Bg2Tv8V54kdCY9AHxJgSEPs r+ddfC6UKgvuGktLUD0J4MeReXJRe8D9mj8jmxwpjda+Blbkmmo/NxejuMXZKnmqryPV tOsi1wq4BJ6Ix3M2w7sZ5r2Mq9Xk+iazjCRbiP4qCoYmVzorxIgZMMyZQ9MEgPs/9zvF TwCO+hl7gCCuh8YRq88MEFHPz7Te9KdEsbrLCjKGDkMsG4rypxZFbZ27YEaobgDFV4WB iMpXoWS9j+cBHUnPyuPpO22zo/9LPEyWSS2QNNcMyESyZYCS7f4/GglC1fKpXEZcZcwS 5JWw== 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=vkQ+EXF2yvxMQDq5My2ZO6G3Ve/ySfBy90ygkHt2VtU=; b=Ws4wav+5cObF5A0MS9zCwQYzPsfWHt5vsCiE9fmntNz7PYqx4wfYVDQXmHERSAFP1P y1Vx2AWleYaJZNmysnlUKeExqRhpK2pP4zsGrVt1UMyP56mlxwTSphQu/up675S76KpX na8D7GNMS+34dMloBy5XmXcKcwuZp/uKNM3qU5ApunJ5P7DNPWJ2H+ZL7P95qSExqsFr cmAGLWfrVW5vI/kQ5V/5SrLHlTjsyWBjgEJfV4b6Ho2GFgTr5dgCvAjvQT7ix5fzNk1i qJ5bC6jiWpUHTzdPfLV0Ec7DoRfqX6OT+ynOET+6Cr2pOR0HZFBXoMdCvgtYvibzXXhk v6XA== X-Gm-Message-State: AOAM530T/og64+N9g0fjwwgeOZ7oTZpOENqL83XvLHnYK18MdCRCRvSD HPzIny1GXPicXFuQmyo0sNU94A== X-Received: by 2002:a1c:9e93:: with SMTP id h141mr1524494wme.153.1604699402333; Fri, 06 Nov 2020 13:50:02 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id t199sm3981084wmt.46.2020.11.06.13.50.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:50:01 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 07/19] drm/radeon/radeon_kms: Include header containing our own prototypes Date: Fri, 6 Nov 2020 21:49:37 +0000 Message-Id: <20201106214949.2042120-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106214949.2042120-1-lee.jones@linaro.org> References: <20201106214949.2042120-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 , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/radeon_kms.c:61:6: warning: no previous prototype for ‘radeon_driver_unload_kms’ [-Wmissing-prototypes] drivers/gpu/drm/radeon/radeon_kms.c:104:5: warning: no previous prototype for ‘radeon_driver_load_kms’ [-Wmissing-prototypes] drivers/gpu/drm/radeon/radeon_kms.c:618:6: warning: no previous prototype for ‘radeon_driver_lastclose_kms’ [-Wmissing-prototypes] drivers/gpu/drm/radeon/radeon_kms.c:633:5: warning: no previous prototype for ‘radeon_driver_open_kms’ [-Wmissing-prototypes] drivers/gpu/drm/radeon/radeon_kms.c:704:6: warning: no previous prototype for ‘radeon_driver_postclose_kms’ [-Wmissing-prototypes] drivers/gpu/drm/radeon/radeon_kms.c:755:5: warning: no previous prototype for ‘radeon_get_vblank_counter_kms’ [-Wmissing-prototypes] drivers/gpu/drm/radeon/radeon_kms.c:825:5: warning: no previous prototype for ‘radeon_enable_vblank_kms’ [-Wmissing-prototypes] drivers/gpu/drm/radeon/radeon_kms.c:852:6: warning: no previous prototype for ‘radeon_disable_vblank_kms’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/radeon/radeon_kms.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c index 99ee60f8b604d..0d8fbabffcead 100644 --- a/drivers/gpu/drm/radeon/radeon_kms.c +++ b/drivers/gpu/drm/radeon/radeon_kms.c @@ -40,6 +40,7 @@ #include "radeon.h" #include "radeon_asic.h" +#include "radeon_drv.h" #if defined(CONFIG_VGA_SWITCHEROO) bool radeon_has_atpx(void);