From patchwork Tue Dec 22 12:22:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 105085 Delivered-To: patch@linaro.org Received: by 10.112.89.199 with SMTP id bq7csp3199124lbb; Tue, 22 Dec 2015 04:22:36 -0800 (PST) X-Received: by 10.66.227.102 with SMTP id rz6mr34827354pac.4.1450786956776; Tue, 22 Dec 2015 04:22:36 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v13si3062659pas.128.2015.12.22.04.22.36; Tue, 22 Dec 2015 04:22:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754101AbbLVMWf (ORCPT + 6 others); Tue, 22 Dec 2015 07:22:35 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:46007 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754124AbbLVMWf (ORCPT ); Tue, 22 Dec 2015 07:22:35 -0500 Received: from cl-2057.lon-02.gb.sixxs.net ([2a01:348:6:808::2] helo=debutante) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1aBLxT-0006Iv-VQ; Tue, 22 Dec 2015 12:22:28 +0000 Received: from broonie by debutante with local (Exim 4.86) (envelope-from ) id 1aBLxO-0003T4-OP; Tue, 22 Dec 2015 12:22:22 +0000 From: Mark Brown To: Rob Herring , Frank Rowand , Linus Walleij , Stephen Boyd Cc: devicetree@vger.kernel.org, Mark Brown Date: Tue, 22 Dec 2015 12:22:22 +0000 Message-Id: <1450786942-13292-1-git-send-email-broonie@kernel.org> X-Mailer: git-send-email 2.6.2 X-SA-Exim-Connect-IP: 2a01:348:6:808::2 X-SA-Exim-Mail-From: broonie@sirena.org.uk X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mezzanine.sirena.org.uk X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 Subject: [PATCH] of/irq: Export of_irq_count() X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Some of the Qualcomm pinctrl drivers have started trying to use of_irq_count() in modular code but this fails to build as the symbol is not exported. Since there doesn't seem to be any reason not to export the symbol make it available to modules. Signed-off-by: Mark Brown --- drivers/of/irq.c | 1 + 1 file changed, 1 insertion(+) -- 2.6.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 4fa916dffc91..2cea06a0c751 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -449,6 +449,7 @@ int of_irq_count(struct device_node *dev) return nr; } +EXPORT_SYMBOL_GPL(of_irq_count); /** * of_irq_to_resource_table - Fill in resource table with node's IRQ info