From patchwork Thu Oct 15 10:36:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 54995 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by patches.linaro.org (Postfix) with ESMTPS id B80DC22FFA for ; Thu, 15 Oct 2015 10:38:17 +0000 (UTC) Received: by lbbpc3 with SMTP id pc3sf8290955lbb.2 for ; Thu, 15 Oct 2015 03:38:16 -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 :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:cc:mime-version:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=P/7qB/udIPIWck53PfkwW+N607afXI9uyoqFW0hQdwM=; b=CeZljv+IfHbvlF/DM4SUKvnGgTU8a2A+O1rVoJ9VVAFOsBkh0Y0+OGgafEEHimcs9G H5Hb0q2+ejIQqrE4yRE/riV0X0BdVgdoR5piXXGijIiGuhcEN5gEwWn2rNTy3ecoOc8o +aJUeUgrvi3xerrtegnedJ4UZxzDEQ0QPIBKSeDou8r/zUcxJTNjGvsHOhO6ffFFLakM 4ZvJFWwmQ2Awxxg6/aAJs8OXwVr8XP7NFLA/0OyMW9Efpy2FiKaoWqTHBxJP+ash++NU QwkrNuLOxKiQT5Hb6ksEJ0sRszzI4m1f6xq4fRGobPyql5C4JM5gqRWBfM77Y8Fp9XIl 8fHg== X-Gm-Message-State: ALoCoQlIXcaJEqe7ZWrNO8nL+ukP54yPBDlfSMpHxpM0l1weWCYwXj61nuNIVJ65gIegizWSg0C7 X-Received: by 10.180.106.197 with SMTP id gw5mr2076548wib.7.1444905496704; Thu, 15 Oct 2015 03:38:16 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.43.135 with SMTP id r129ls158482lfr.93.gmail; Thu, 15 Oct 2015 03:38:16 -0700 (PDT) X-Received: by 10.112.163.131 with SMTP id yi3mr4091517lbb.36.1444905496547; Thu, 15 Oct 2015 03:38:16 -0700 (PDT) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPS id x128si8677112lfd.127.2015.10.15.03.38.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Oct 2015 03:38:16 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175; Received: by lbwr8 with SMTP id r8so65533284lbw.2 for ; Thu, 15 Oct 2015 03:38:16 -0700 (PDT) X-Received: by 10.112.135.9 with SMTP id po9mr4213078lbb.56.1444905496392; Thu, 15 Oct 2015 03:38:16 -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.112.59.35 with SMTP id w3csp542237lbq; Thu, 15 Oct 2015 03:38:15 -0700 (PDT) X-Received: by 10.68.243.99 with SMTP id wx3mr9277164pbc.33.1444905495261; Thu, 15 Oct 2015 03:38:15 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id sr1si20667458pbc.79.2015.10.15.03.38.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Oct 2015 03:38:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) 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 1ZmfuO-0002kE-AA; Thu, 15 Oct 2015 10:37:16 +0000 Received: from mail-pa0-f52.google.com ([209.85.220.52]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZmfuL-0002Xe-Ao for linux-arm-kernel@lists.infradead.org; Thu, 15 Oct 2015 10:37:14 +0000 Received: by pabur7 with SMTP id ur7so1958276pab.2 for ; Thu, 15 Oct 2015 03:36:52 -0700 (PDT) X-Received: by 10.66.157.72 with SMTP id wk8mr9221291pab.132.1444905412194; Thu, 15 Oct 2015 03:36:52 -0700 (PDT) Received: from localhost.localdomain ([180.150.157.4]) by smtp.gmail.com with ESMTPSA id kp4sm14639420pbc.34.2015.10.15.03.36.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Oct 2015 03:36:50 -0700 (PDT) From: Zhangfei Gao To: Rob Herring , Arnd Bergmann Subject: [PATCH] of/irq: export of_irq_count Date: Thu, 15 Oct 2015 18:36:42 +0800 Message-Id: <1444905402-10510-1-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151015_033713_396798_EDA9F040 X-CRM114-Status: GOOD ( 10.73 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.52 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.220.52 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Cc: Zhangfei Gao , John Garry , linux-arm-kernel@lists.infradead.org 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: zhangfei.gao@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) smtp.mailfrom=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 Export of_irq_count, otherwise module build fail if of_irq_count is used Signed-off-by: Zhangfei Gao Signed-off-by: John Garry Acked-by: Arnd Bergmann --- drivers/of/irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 0c7f4cbe3434..0d149cc48cfe 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -448,6 +448,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