Message ID | 20211019215855.1920099-5-f.fainelli@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=LG8l=PH=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> 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 8EBE5C433F5 for <linux-arm-kernel@archiver.kernel.org>; Tue, 19 Oct 2021 22:03:35 +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 605F56113D for <linux-arm-kernel@archiver.kernel.org>; Tue, 19 Oct 2021 22:03:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 605F56113D 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=n9reuRIPVjKqnJmb4/HFW15pg1LEXrSsoTLiQ4fWpMM=; b=E0rvvTo0Lykg2e pxdApLh0p3Vc2/wreyeCPxOJDe4U3iaUCUivQYI3Ii6gT8daLCFJQXzqTgh9dyF7BaLl9WxVX3aVb i3FbzMAFhx2uSQvVpUZfZfL8YVwBunZPLFwuo+zra+/jCiO0kgOAIzBZ8xGQX2AJMQL5FlrvBuJa5 IMu+oO0hqIhYw4FgjoOoipKrqTAyE6gZMsdiaHrwZW9NNmsDoGMWZ+u50nLG5dbYSkBzJFxExO83M pNjsIMXeKChKgkiw9p0dWJIRc8R0g24ILBS1m6gPSmfjMGGIWoOWPY7HDHTMken6LmadI2GV+ARwA 7UqU4e34wNkC4NzZDC9A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcxBL-002kFV-EU; Tue, 19 Oct 2021 22:02:03 +0000 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcx8W-002iow-FV for linux-arm-kernel@lists.infradead.org; Tue, 19 Oct 2021 21:59:09 +0000 Received: by mail-pj1-x1036.google.com with SMTP id ls18-20020a17090b351200b001a00250584aso931945pjb.4 for <linux-arm-kernel@lists.infradead.org>; Tue, 19 Oct 2021 14:59:07 -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=b+ZBi3anDomFQV4e/giygkqAUlU4kNEpUMbqtcbvyD0=; b=jn9QML4KK77DYsSugzmcoMS/1b2NGB1u/HjX5lJrHxBI1MzFsQ/UO85N3H7XNBP9Db 6sSnbegctLVAjR3i2QPHtgFSOFWqCb+xBs4954wAMB6Aul32aB+Yun15zcZQ/tF5LCo9 I/w8HoHhQnxa/7nRVfyy1uiod3qXVk4f3VyjQoQpP0NsdPxCJNEKgHe2P1FPNMdhOawG CyRpHvAHruURxaLkvscPrng8VifYeMnB2ZZszM9Wax4GYvysMfeNB5Lf9yAlZ6TsVhzP wHYdrcXtqldANQUZmAAVkFi1NfHqn7DgBRhZrK7nyjmXGWagNa3OHtOadRDTJkJ05hUQ e9Tw== 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=b+ZBi3anDomFQV4e/giygkqAUlU4kNEpUMbqtcbvyD0=; b=IrcBSzzeSiF2eOkKL6Nc3/WXw9yeLNYLwftnJd2VkenuhVJL1XRKJa273dnGrSSLZW YSJ3DTWeYWvFU7ok59iq2aK5JyqXKUO4ib4QaKkBIa7ko8R2keC+tLRwCZvO7DQzg7T8 wQxWcwcSthyXI/E1IEKM1z32h94nU+KdH/KGt5HXZWKaDxxPVJo3BKyk6spH2BzB6xvi ZmOdR0XmN6xtYysR5Y1iMhyb/RPzLkCoif/O1m7WEgRnvBwPgJ865HBI7D2Q3Pp0zI2q RwfCEl2GR01Mj+3PAYCCgjz4JqN5JSddGohquAxP6WzgIz/2OM/PbOhcRLJPfiTfCrg3 he3Q== X-Gm-Message-State: AOAM531Q4GsCJIZtbGP1KxG7o9UJZ2KyOnZFTKZBRlFTUfocTA6qtFe5 3jr8pSRfTmAEwRkmi2D/LCw= X-Google-Smtp-Source: ABdhPJw6vrFWYOXdAx+iTte/s/JqTgZ03LVQ6UZ7rk2h0Ha78jN26yD/7ThDWzeIPkjCe5yaxltnNg== X-Received: by 2002:a17:90a:f68a:: with SMTP id cl10mr2664896pjb.39.1634680747281; Tue, 19 Oct 2021 14:59:07 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id bf7sm139325pjb.14.2021.10.19.14.59.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Oct 2021 14:59:06 -0700 (PDT) From: Florian Fainelli <f.fainelli@gmail.com> To: linux-kernel@vger.kernel.org Cc: Florian Fainelli <f.fainelli@gmail.com>, Ray Jui <rjui@broadcom.com>, Scott Branden <sbranden@broadcom.com>, bcm-kernel-feedback-list@broadcom.com (maintainer:BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITE...), Russell King <linux@armlinux.org.uk>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Thomas Bogendoerfer <tsbogend@alpha.franken.de>, Thomas Gleixner <tglx@linutronix.de>, Marc Zyngier <maz@kernel.org>, Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com>, linux-arm-kernel@lists.infradead.org (moderated list:ARM SUB-ARCHITECTURES), linux-mips@vger.kernel.org (open list:MIPS), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE) Subject: [PATCH v5 04/14] irqchip/irq-bcm7038-l1: Use irq_get_irq_data() Date: Tue, 19 Oct 2021 14:58:45 -0700 Message-Id: <20211019215855.1920099-5-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211019215855.1920099-1-f.fainelli@gmail.com> References: <20211019215855.1920099-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-20211019_145908_545749_571099C8 X-CRM114-Status: GOOD ( 16.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Modular Broadcom irqchip drivers
|
expand
|
diff --git a/drivers/irqchip/irq-bcm7038-l1.c b/drivers/irqchip/irq-bcm7038-l1.c index 750156217c82..14caf32dc23e 100644 --- a/drivers/irqchip/irq-bcm7038-l1.c +++ b/drivers/irqchip/irq-bcm7038-l1.c @@ -386,7 +386,7 @@ static int bcm7038_l1_map(struct irq_domain *d, unsigned int virq, irq_set_chip_and_handler(virq, &bcm7038_l1_irq_chip, handle_level_irq); irq_set_chip_data(virq, d->host_data); - irqd_set_single_target(irq_desc_get_irq_data(irq_to_desc(virq))); + irqd_set_single_target(irq_get_irq_data(virq)); return 0; }
Using irq_desc_get_irq_data(irq_to_desc()) to retrieve the irq_data structure from a virtual interrupt number is going to be problematic to make irq-bcm7038-l1 a module because irq_to_desc() is not exported, and there is no intent to export it to modules, see 64a1b95bb9fe ("genirq: Restrict export of irq_to_desc()"). Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> --- drivers/irqchip/irq-bcm7038-l1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)