From patchwork Mon Jan 11 19:18:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 360541 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp3139372jai; Mon, 11 Jan 2021 11:19:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJyEgl2gicpJKhaXfiXrbIO7U2R4k+CGevpPLGX6lee8WdkArIa1fz21impjo02DObZDMOPx X-Received: by 2002:a62:fc4a:0:b029:19e:3b99:d584 with SMTP id e71-20020a62fc4a0000b029019e3b99d584mr839433pfh.59.1610392793616; Mon, 11 Jan 2021 11:19:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610392793; cv=none; d=google.com; s=arc-20160816; b=rQOHmVbLOS17pRX92FIR4Tx9KqGeRi/z0BLu5KNQb+dtrDQocjJw0Q0Zkwpn61ak7b a2yxHZD9J8/yRS8XrynTWgQKrUf1e4YEr7FZghLZwiEJ3YjV5O/sk6QSa5fnKKtjBgzP dQB4MWnaaV0F/GxHA1+rtSnFEY3w6o4CtY4IQpxj6iF+pgrSVNn1r2lXPgWuc57EX5Si XH48w7RzYJz6Q1oEqCAIFbjOyrVdSuueQvof+xvsmJOBMYpkJP9Tku6HXV5/x82Rnu4y mUobaBwOmWdspBf8vYaaL+YYCX7g+dlVVFd2juQlJoQBLAUeRD+FyRn5B8xKrI3ut7av A4RQ== 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=oAkkV7VhNnSDBeQuCtT7mAJm5on6wMc/JnTh5Kn6b8E=; b=z3X0wUNDs1i+jYb6i1q7ELrEXO0WkY4nG4i/PPDzL6A0lKwUaSfRc4eRUJuKUvdZrH jHRVNfriwrUByBynUG/lbsMpBOiwpbES3boRqr+fNptH9jg4rih3rMM50ow1AzlsVDp8 V3l4St9F6yuC1SAfRUIMPqo23w6ylJw2pKEta1kGdBzfEqPu5CShDXF9hWb6lpUfTlKR Hdw0Cbp62YleZyyRTYZnqQBAZxOTUpMfdUAvV/UCFZout3JOZLD465Wuil7x+p8NqrHN s83UhqPge5PCswNCQFempsrzXvsAwVrEtxfE+Xj773BmO8QIFWwSD8nMmxo16cmshCQj GuMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=AvjJHTIg; 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 l1si541108pld.95.2021.01.11.11.19.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 11:19:53 -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=AvjJHTIg; 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 390BA89E08; Mon, 11 Jan 2021 19:19:42 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by gabe.freedesktop.org (Postfix) with ESMTPS id E7B0689E06 for ; Mon, 11 Jan 2021 19:19:40 +0000 (UTC) Received: by mail-wr1-x434.google.com with SMTP id c5so928999wrp.6 for ; Mon, 11 Jan 2021 11:19:40 -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=gYAUvWYhLSY+y3POXwzPmF8UOJaTJ9mXjk2V2XniJm0=; b=AvjJHTIgB9FSFfzuhd2/xZddg8dZhEgKX/CNFOHHQ7b9yZsOPZNXR49nJuu2Y3EZf6 nUy0bQnAI1boEBFBEoLLzNZNtykXnh6Nep+/FljRN06bxsfy9XrWoASbuW4gRpXFmeHq uw87V0KY+HzEFkFreB0xHPov/rSoFGqymGVJCJKOd5Xj7nLXfnnwmP4Rxeev8YCd/XzN eoNsw5lmZJrz9wKkkiTSm9obVvLZuTZuyD09jCcXNJMvvm/FUZRXFn8GSmGRi1njKqMW gFM8rEm3OsjmjtxdT9TdiLV56tLbw67SeScy7kFp2Og0E2rZzMC32vhYy9IZbztGz2XX y1/A== 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=gYAUvWYhLSY+y3POXwzPmF8UOJaTJ9mXjk2V2XniJm0=; b=FTFHHIfRUbz4wHoSuIKWEHsvz4f7VJJDerBsG9RtRr0JZtSRF8tIb5rVRqeFvHn2lW xxTruB3qP/MlhG3e2yEQO8miDMIyzVQAiD1VbABP5HB7GFfsWGF72wz/EzNtQI9jX3Gh t3IZbGk+eSVCtI1ayRj/GMDfWHeS/Qq19cMT1Y2R2W45ZqA8D9QUExd34ma5km6sIS7s OBvmXgw8B3HX1kXTDXmmFaH3VYf4UIS8/QNYM8hTKKIsl6z+tq1ZQLBghANqEBLFC1G2 9qlMI86r4YDSmc+QDTElSpqADym9N9bkuqqfNKNpA27ez7e9Rujv353Hki8658WhuXAM STdQ== X-Gm-Message-State: AOAM5302UBl87Ute1w/8hG+Mr3PvMt7G0/5CrxuISTYnYR0BCoVCGab9 4dMPb/Eqxt49YEQhTBSq6ssQxA== X-Received: by 2002:adf:fd41:: with SMTP id h1mr613515wrs.284.1610392779552; Mon, 11 Jan 2021 11:19:39 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id n3sm778090wrw.61.2021.01.11.11.19.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 11:19:38 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 07/40] drm/amd/display/dc/irq/irq_service: Make local function static Date: Mon, 11 Jan 2021 19:18:53 +0000 Message-Id: <20210111191926.3688443-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210111191926.3688443-1-lee.jones@linaro.org> References: <20210111191926.3688443-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: Leo Li , Mauro Rossi , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/irq/irq_service.c:82:31: warning: no previous prototype for ‘find_irq_source_info’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Mauro Rossi Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/irq/irq_service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/irq/irq_service.c b/drivers/gpu/drm/amd/display/dc/irq/irq_service.c index 6bf27bde87240..5f245bde54ff7 100644 --- a/drivers/gpu/drm/amd/display/dc/irq/irq_service.c +++ b/drivers/gpu/drm/amd/display/dc/irq/irq_service.c @@ -79,7 +79,7 @@ void dal_irq_service_destroy(struct irq_service **irq_service) *irq_service = NULL; } -const struct irq_source_info *find_irq_source_info( +static const struct irq_source_info *find_irq_source_info( struct irq_service *irq_service, enum dc_irq_source source) {