From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 948B3C433EF for ; Fri, 24 Sep 2021 17:07:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 80F0A6124B for ; Fri, 24 Sep 2021 17:07:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343666AbhIXRJA (ORCPT ); Fri, 24 Sep 2021 13:09:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343779AbhIXRIk (ORCPT ); Fri, 24 Sep 2021 13:08:40 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAC75C061571; Fri, 24 Sep 2021 10:07:05 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id 203so9386492pfy.13; Fri, 24 Sep 2021 10:07:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IR7iGEsWM4mxjXZfoqo7m6j++9do1uNMuo9CMR/SQ9I=; b=dpaXvMxmrnZDzjRDG9vbsfni6n6vmDUCD89VGU81gKtDOqTLjKtg8uV/3eiVRrid8f rXt6qppCsAjL34efPgePlTfKz0b5R2UOyuTAx9P1KiI8U+SuVsdd39zGjb/Zj5MArhSS yKD9fMsBnd6l/4zqxKsvshmtg7ZNzRb9AtYkuSfwkkvmBZTyCfTqv1UKag5ABLK+lDR9 AY4WJOIVxI9NOMeuAklIkPyFQ39i8iklJEVCLlFe63iRt73kOzxuRYhgbkOksNJldLdn mtlAjy6P4B4KyEHPOONAviOSvhuF8RM6u6WI3aU+o3pdQp1DI/hDKBsGC+rmQ8CWJSK/ 3S4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IR7iGEsWM4mxjXZfoqo7m6j++9do1uNMuo9CMR/SQ9I=; b=cGLCB/8y+iyGiP1ZrAGulcMp/3nz8auwB6AnDEs5c1YRwnyi8GdPY1lOp70Yn0Iv0q GQOY8GF7D4YOLIgIPEQnUqppKVpKAYWeESHEyiZJ3CjHrtGnmAVKClLPk5urNz6nf2EG TX5PMSEdonEA1IvpKa28P959bcBo6qtGcTmIdoSZG2Wh8ug06eAG72N9Q31JLB1dKAeO +cwwlv5hubwtqWC+EmyvAwNhmcdHOpHtHGYLGfxsJkH+MlGk4v3XKiJwbqOZWi4wFTDP LUQjSrCLW2/TiC63R2HBR5jRzpsAfarO+fu79fhaht0Psl8HwbRJom8H4BxgrA/3NM10 SDNw== X-Gm-Message-State: AOAM530M3Mn8rL3Hlu3OaBcYAi0ye5Rwg0GKe8ijvli+o2OGa+Xwi2vp kj0NoghAeFjlnTP5rve7KCzmNmAw9GI= X-Google-Smtp-Source: ABdhPJzUN9zJeKx+S71xh2ThXQH6aSN/EG/ft/rg0Z82gwjCLfZSlTo2cDLYBDJZo1sgwxvrgJlqBg== X-Received: by 2002:a62:750e:0:b0:446:d467:3620 with SMTP id q14-20020a62750e000000b00446d4673620mr10711357pfc.80.1632503225363; Fri, 24 Sep 2021 10:07:05 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id k22sm9659312pfi.149.2021.09.24.10.07.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 10:07:05 -0700 (PDT) From: Florian Fainelli To: linux-kernel@vger.kernel.org Cc: Florian Fainelli , Russell King , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com (maintainer:BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITE...), Catalin Marinas , Will Deacon , Yoshinori Sato , Rich Felker , Thomas Gleixner , Marc Zyngier , Rob Herring , Frank Rowand , Ard Biesheuvel , Mike Rapoport , Linus Walleij , Andrew Morton , Geert Uytterhoeven , Arnd Bergmann , Guenter Roeck , Kefeng Wang , Mark Rutland , Andrey Konovalov , Anshuman Khandual , Valentin Schneider , Ingo Molnar , Peter Zijlstra , linux-arm-kernel@lists.infradead.org (moderated list:ARM PORT), linux-sh@vger.kernel.org (open list:SUPERH), linux-mips@vger.kernel.org (open list:BROADCOM BMIPS MIPS ARCHITECTURE), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE) Subject: [PATCH 07/11] of/irq: Export of_irq_count to drivers Date: Fri, 24 Sep 2021 10:05:42 -0700 Message-Id: <20210924170546.805663-8-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210924170546.805663-1-f.fainelli@gmail.com> References: <20210924170546.805663-1-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org In order to build drivers/irqchip/irq-bcm7120-l2.c as a module, we will need to have of_irq_count() exported to modules. Signed-off-by: Florian Fainelli --- drivers/of/irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 352e14b007e7..949b9d1f8729 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -440,6 +440,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 -- 2.25.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BCA0AC433F5 for ; Fri, 24 Sep 2021 17:11:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8595E60EE9 for ; Fri, 24 Sep 2021 17:11:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8595E60EE9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kqRNeOPuUIejXX2Lc7JraOH108Mbvg+Aw3zDiR9nDMY=; b=q39bNvMo346n7R lxUswhhiMTgYgnf7JfqqdGuMrh7oXHu0MHZoaPXgpe8C4ujx2KdoYzQYVi8HIiZQYESd+J306VZwF vWVutmWfoiDttu4TZSzH+YnLXoYi/DDhm5xy+pSJOj+sKJqADQh/pm8qu9PBEI8ObhpEMEIU7voPO cuh6WwKg3VUozPYBVoCcz7QsD52VblgdZWm6BMsm6LMaXFWaZ6zdnj2d0dKmxF2lF7oYQqANVWDe/ qKHam4wrM4CQ/nz1yHORVNEJV+/r6j4aeGs65YyW6kEk5/QniUAMdTMV5BuI+npkJPH084tF0by5F uauyICPQosJvdIrpNiTw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mToge-00FAv4-96; Fri, 24 Sep 2021 17:08:36 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTofC-00FAQe-G4 for linux-arm-kernel@lists.infradead.org; Fri, 24 Sep 2021 17:07:07 +0000 Received: by mail-pf1-x42d.google.com with SMTP id g14so9470816pfm.1 for ; Fri, 24 Sep 2021 10:07:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IR7iGEsWM4mxjXZfoqo7m6j++9do1uNMuo9CMR/SQ9I=; b=dpaXvMxmrnZDzjRDG9vbsfni6n6vmDUCD89VGU81gKtDOqTLjKtg8uV/3eiVRrid8f rXt6qppCsAjL34efPgePlTfKz0b5R2UOyuTAx9P1KiI8U+SuVsdd39zGjb/Zj5MArhSS yKD9fMsBnd6l/4zqxKsvshmtg7ZNzRb9AtYkuSfwkkvmBZTyCfTqv1UKag5ABLK+lDR9 AY4WJOIVxI9NOMeuAklIkPyFQ39i8iklJEVCLlFe63iRt73kOzxuRYhgbkOksNJldLdn mtlAjy6P4B4KyEHPOONAviOSvhuF8RM6u6WI3aU+o3pdQp1DI/hDKBsGC+rmQ8CWJSK/ 3S4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IR7iGEsWM4mxjXZfoqo7m6j++9do1uNMuo9CMR/SQ9I=; b=TjklnQb93YfhbSetKd5gxZQit4HJgbmbXAz5fVEj5KFhTtDHwtgwTDHic5OrhjkZOR v68sqtGPa1uAijW6FvYuk2dfLzSBzQlfBALheYOTut7UdxlPnE5GbNXHTQwalNce/HC7 KMKbKXIeE1eJk2x5VB80Rh/YuVn5GzYgmadVOXtEyFybKvIH/hMma/K8HC9F1XBl/7G0 psXBamPY4xCThO6ETl3YaRBN6KiNIdpUv5oI3KRh0xaKAwCpITogSlYICu8/2/QEfe46 1yVbkojmhPONXsRQLPqsVGTspcmAB6yEz/Jewu1353apA0OMeeoASK0ZDWTpsVCMVHHR iWHg== X-Gm-Message-State: AOAM532BKB/9FwU/wNN7hnZQx082Ot7Yvw/9JwSEFdYj8NywfMFVsTtO ENuCHXW9FksFKONkMylWI2M= X-Google-Smtp-Source: ABdhPJzUN9zJeKx+S71xh2ThXQH6aSN/EG/ft/rg0Z82gwjCLfZSlTo2cDLYBDJZo1sgwxvrgJlqBg== X-Received: by 2002:a62:750e:0:b0:446:d467:3620 with SMTP id q14-20020a62750e000000b00446d4673620mr10711357pfc.80.1632503225363; Fri, 24 Sep 2021 10:07:05 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id k22sm9659312pfi.149.2021.09.24.10.07.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 10:07:05 -0700 (PDT) From: Florian Fainelli To: linux-kernel@vger.kernel.org Cc: Florian Fainelli , Russell King , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com (maintainer:BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITE...), Catalin Marinas , Will Deacon , Yoshinori Sato , Rich Felker , Thomas Gleixner , Marc Zyngier , Rob Herring , Frank Rowand , Ard Biesheuvel , Mike Rapoport , Linus Walleij , Andrew Morton , Geert Uytterhoeven , Arnd Bergmann , Guenter Roeck , Kefeng Wang , Mark Rutland , Andrey Konovalov , Anshuman Khandual , Valentin Schneider , Ingo Molnar , Peter Zijlstra , linux-arm-kernel@lists.infradead.org (moderated list:ARM PORT), linux-sh@vger.kernel.org (open list:SUPERH), linux-mips@vger.kernel.org (open list:BROADCOM BMIPS MIPS ARCHITECTURE), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE) Subject: [PATCH 07/11] of/irq: Export of_irq_count to drivers Date: Fri, 24 Sep 2021 10:05:42 -0700 Message-Id: <20210924170546.805663-8-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210924170546.805663-1-f.fainelli@gmail.com> References: <20210924170546.805663-1-f.fainelli@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210924_100706_558165_483E6B64 X-CRM114-Status: GOOD ( 13.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org In order to build drivers/irqchip/irq-bcm7120-l2.c as a module, we will need to have of_irq_count() exported to modules. Signed-off-by: Florian Fainelli --- drivers/of/irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 352e14b007e7..949b9d1f8729 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -440,6 +440,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 -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel