From patchwork Tue Aug 26 14:13:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 36036 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 01BB92054F for ; Tue, 26 Aug 2014 14:17:27 +0000 (UTC) Received: by mail-pa0-f71.google.com with SMTP id et14sf123116967pad.10 for ; Tue, 26 Aug 2014 07:17:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=w+PhYjLM2skoLegI9OjgLdRRe6Mo3kERMj6/xJnGO/E=; b=A73Od9gC4IsalGY3Wa44npA91tL16hntpirvxSCyH3cahGJBX+72aFr7HJYXCjZxea k9bwQRrnnkBiarRKsd/MKfc+srX735HSZMoTRYeuoX7rWSl2S42mYMvtut6Pv47lRdPW d+trRJCclkT7PUQVfD6CDj01ukIFhzE2FUc4PRvcdMpgAb/uS5MYc1P1W7dHIM9GqYez uDDhkvItQ0uR7HPf6LMOMhQ6nUxT4/FFxj3Xp2CwjRG/sFycirU8WHZt+mM5e7UmugRk zF6erTlVwwo8MCoMraxVhQF+0Dph9x1uV3SLtFUdOdfhUDFTOXD56rP7hwK0ARW803iu vRAg== X-Gm-Message-State: ALoCoQnFexXTk8pukqt4C/rs10thgxtIEFWTMMbuJoBliukUsbxIqexiMe7AL8Hkf3PWAJCnrd1G X-Received: by 10.66.100.196 with SMTP id fa4mr18596641pab.11.1409062647323; Tue, 26 Aug 2014 07:17:27 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.41.11 with SMTP id y11ls2490861qgy.23.gmail; Tue, 26 Aug 2014 07:17:27 -0700 (PDT) X-Received: by 10.236.160.225 with SMTP id u61mr25717257yhk.4.1409062647098; Tue, 26 Aug 2014 07:17:27 -0700 (PDT) Received: from mail-yk0-f177.google.com (mail-yk0-f177.google.com [209.85.160.177]) by mx.google.com with ESMTPS id n10si2474177yhd.181.2014.08.26.07.17.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Aug 2014 07:17:27 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.160.177 as permitted sender) client-ip=209.85.160.177; Received: by mail-yk0-f177.google.com with SMTP id 79so11367524ykr.36 for ; Tue, 26 Aug 2014 07:17:27 -0700 (PDT) X-Received: by 10.52.129.165 with SMTP id nx5mr9974352vdb.25.1409062646968; Tue, 26 Aug 2014 07:17:26 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp202907vcb; Tue, 26 Aug 2014 07:17:26 -0700 (PDT) X-Received: by 10.68.164.4 with SMTP id ym4mr37582444pbb.53.1409062646152; Tue, 26 Aug 2014 07:17:26 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id t9si4743887pas.62.2014.08.26.07.17.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Aug 2014 07:17:26 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XMHXk-0004pD-B9; Tue, 26 Aug 2014 14:16:16 +0000 Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XMHVN-0008IS-1r for linux-arm-kernel@lists.infradead.org; Tue, 26 Aug 2014 14:13:49 +0000 Received: from edgewater-inn.cambridge.arm.com (edgewater-inn.cambridge.arm.com [10.1.203.34]) by cam-admin0.cambridge.arm.com (8.12.6/8.12.6) with ESMTP id s7QEDIwo011803; Tue, 26 Aug 2014 15:13:18 +0100 (BST) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id A7E551AE069B; Tue, 26 Aug 2014 15:13:37 +0100 (BST) From: Will Deacon To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 07/11] irqchip: gic: make gic_default_routable_irq_domain_ops static Date: Tue, 26 Aug 2014 15:13:26 +0100 Message-Id: <1409062410-25891-8-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.0.rc1 In-Reply-To: <1409062410-25891-1-git-send-email-will.deacon@arm.com> References: <1409062410-25891-1-git-send-email-will.deacon@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140826_071349_473829_DF0AA905 X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-5.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [217.140.96.50 listed in list.dnswl.org] 0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record Cc: Marc Zyngier , catalin.marinas@arm.com, Will Deacon , Jason Cooper X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: will.deacon@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.160.177 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 The internal irq domain ops for the GIC are not used directly anywhere else, so make them static. This gets rid of a sparse warning on the file. Cc: Jason Cooper Cc: Marc Zyngier Signed-off-by: Will Deacon Acked-by: Marc Zyngier --- drivers/irqchip/irq-gic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c index 4b959e606fe8..dda6dbc23565 100644 --- a/drivers/irqchip/irq-gic.c +++ b/drivers/irqchip/irq-gic.c @@ -867,7 +867,7 @@ static int gic_routable_irq_domain_xlate(struct irq_domain *d, return 0; } -const struct irq_domain_ops gic_default_routable_irq_domain_ops = { +static const struct irq_domain_ops gic_default_routable_irq_domain_ops = { .map = gic_routable_irq_domain_map, .unmap = gic_routable_irq_domain_unmap, .xlate = gic_routable_irq_domain_xlate,