From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755375AbcBHADO (ORCPT ); Sun, 7 Feb 2016 19:03:14 -0500 Received: from mail5.windriver.com ([192.103.53.11]:51087 "EHLO mail5.wrs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754880AbcBHADL (ORCPT ); Sun, 7 Feb 2016 19:03:11 -0500 From: Paul Gortmaker To: CC: Paul Gortmaker , Rob Herring , Frank Rowand , Grant Likely , Subject: [PATCH 2/5] drivers/of: add EXPORT_SYMBOL to of_irq_count Date: Sun, 7 Feb 2016 19:00:41 -0500 Message-ID: <1454889644-27830-3-git-send-email-paul.gortmaker@windriver.com> X-Mailer: git-send-email 2.6.1 In-Reply-To: <1454889644-27830-1-git-send-email-paul.gortmaker@windriver.com> References: <1454889644-27830-1-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We would like to modularize some of the PCI platform specific support code to keep multi platform bzImage sizes in check. However, in a couple of the files we see this: $ git grep -l of_irq_count drivers/pci drivers/pci/host/pci-keystone.c drivers/pci/host/pcie-iproc-msi.c So, we export of_irq_count so we can make headway with the modularization goal. Cc: Rob Herring Cc: Frank Rowand Cc: Grant Likely Cc: devicetree@vger.kernel.org Signed-off-by: Paul Gortmaker --- drivers/of/irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 7ee21ae305ae..0d714748a571 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(of_irq_count); /** * of_irq_to_resource_table - Fill in resource table with node's IRQ info -- 2.6.1