From: "tip-bot2 for Johan Hovold" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Johan Hovold <johan@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
Florian Fainelli <florian.fainelli@broadcom.com>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: irq/drivers] irqchip/irq-bcm7120-l2: Fix section mismatch
Date: Thu, 16 Oct 2025 09:51:40 -0000 [thread overview]
Message-ID: <176060830043.709179.6763794597200836690.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20251013094611.11745-5-johan@kernel.org>
The following commit has been merged into the irq/drivers branch of tip:
Commit-ID: bfc0c5beab1fde843677923cf008f41d583c980a
Gitweb: https://git.kernel.org/tip/bfc0c5beab1fde843677923cf008f41d583c980a
Author: Johan Hovold <johan@kernel.org>
AuthorDate: Mon, 13 Oct 2025 11:46:04 +02:00
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Thu, 16 Oct 2025 11:30:37 +02:00
irqchip/irq-bcm7120-l2: Fix section mismatch
Platform drivers can be probed after their init sections have been
discarded so the irqchip init callbacks must not live in init.
Fixes: 3ac268d5ed22 ("irqchip/irq-bcm7120-l2: Switch to IRQCHIP_PLATFORM_DRIVER")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
---
drivers/irqchip/irq-bcm7120-l2.c | 17 ++++++-----------
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/drivers/irqchip/irq-bcm7120-l2.c b/drivers/irqchip/irq-bcm7120-l2.c
index ff22c31..b6c8556 100644
--- a/drivers/irqchip/irq-bcm7120-l2.c
+++ b/drivers/irqchip/irq-bcm7120-l2.c
@@ -143,8 +143,7 @@ static int bcm7120_l2_intc_init_one(struct device_node *dn,
return 0;
}
-static int __init bcm7120_l2_intc_iomap_7120(struct device_node *dn,
- struct bcm7120_l2_intc_data *data)
+static int bcm7120_l2_intc_iomap_7120(struct device_node *dn, struct bcm7120_l2_intc_data *data)
{
int ret;
@@ -177,8 +176,7 @@ static int __init bcm7120_l2_intc_iomap_7120(struct device_node *dn,
return 0;
}
-static int __init bcm7120_l2_intc_iomap_3380(struct device_node *dn,
- struct bcm7120_l2_intc_data *data)
+static int bcm7120_l2_intc_iomap_3380(struct device_node *dn, struct bcm7120_l2_intc_data *data)
{
unsigned int gc_idx;
@@ -208,10 +206,9 @@ static int __init bcm7120_l2_intc_iomap_3380(struct device_node *dn,
return 0;
}
-static int __init bcm7120_l2_intc_probe(struct device_node *dn,
- struct device_node *parent,
+static int bcm7120_l2_intc_probe(struct device_node *dn, struct device_node *parent,
int (*iomap_regs_fn)(struct device_node *,
- struct bcm7120_l2_intc_data *),
+ struct bcm7120_l2_intc_data *),
const char *intc_name)
{
unsigned int clr = IRQ_NOREQUEST | IRQ_NOPROBE | IRQ_NOAUTOEN;
@@ -339,15 +336,13 @@ out_free_data:
return ret;
}
-static int __init bcm7120_l2_intc_probe_7120(struct device_node *dn,
- struct device_node *parent)
+static int bcm7120_l2_intc_probe_7120(struct device_node *dn, struct device_node *parent)
{
return bcm7120_l2_intc_probe(dn, parent, bcm7120_l2_intc_iomap_7120,
"BCM7120 L2");
}
-static int __init bcm7120_l2_intc_probe_3380(struct device_node *dn,
- struct device_node *parent)
+static int bcm7120_l2_intc_probe_3380(struct device_node *dn, struct device_node *parent)
{
return bcm7120_l2_intc_probe(dn, parent, bcm7120_l2_intc_iomap_3380,
"BCM3380 L2");
next prev parent reply other threads:[~2025-10-16 9:51 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-13 9:46 [PATCH 00/11] irqchip: Pass platform device to platform drivers Johan Hovold
2025-10-13 9:46 ` [PATCH 01/11] irqchip/bcm2712-mip: Fix OF node reference imbalance Johan Hovold
2025-10-13 15:56 ` Florian Fainelli
2025-10-16 9:51 ` [tip: irq/drivers] " tip-bot2 for Johan Hovold
2025-10-13 9:46 ` [PATCH 02/11] irqchip/bcm2712-mip: Fix section mismatch Johan Hovold
2025-10-13 15:56 ` Florian Fainelli
2025-10-16 9:51 ` [tip: irq/drivers] " tip-bot2 for Johan Hovold
2025-10-13 9:46 ` [PATCH 03/11] irqchip/irq-bcm7038-l1: " Johan Hovold
2025-10-13 15:56 ` Florian Fainelli
2025-10-16 9:51 ` [tip: irq/drivers] " tip-bot2 for Johan Hovold
2025-10-13 9:46 ` [PATCH 04/11] irqchip/irq-bcm7120-l2: " Johan Hovold
2025-10-13 15:57 ` Florian Fainelli
2025-10-16 9:51 ` tip-bot2 for Johan Hovold [this message]
2025-10-13 9:46 ` [PATCH 05/11] irqchip/irq-brcmstb-l2: " Johan Hovold
2025-10-13 15:57 ` Florian Fainelli
2025-10-16 9:51 ` [tip: irq/drivers] " tip-bot2 for Johan Hovold
2025-10-13 9:46 ` [PATCH 06/11] irqchip/imx-mu-msi: " Johan Hovold
2025-10-16 9:51 ` [tip: irq/drivers] " tip-bot2 for Johan Hovold
2025-10-13 9:46 ` [PATCH 07/11] irqchip/renesas-rzg2l: " Johan Hovold
2025-10-13 13:19 ` Geert Uytterhoeven
2025-10-13 13:27 ` Johan Hovold
2025-10-16 9:51 ` [tip: irq/drivers] " tip-bot2 for Johan Hovold
2025-10-13 9:46 ` [PATCH 08/11] irqchip/starfive-jh8100: " Johan Hovold
2025-10-14 1:05 ` 回复: " Changhuang Liang
2025-10-16 9:51 ` [tip: irq/drivers] " tip-bot2 for Johan Hovold
2025-10-13 9:46 ` [PATCH 09/11] irqchip/qcom-irq-combiner: " Johan Hovold
2025-10-16 9:51 ` [tip: irq/drivers] " tip-bot2 for Johan Hovold
2025-10-13 9:46 ` [PATCH 10/11] irqchip: Drop leftover brackets Johan Hovold
2025-10-13 13:20 ` Geert Uytterhoeven
2025-10-16 9:51 ` [tip: irq/drivers] " tip-bot2 for Johan Hovold
2025-10-13 9:46 ` [PATCH 11/11] irqchip: Pass platform device to platform drivers Johan Hovold
2025-10-13 17:24 ` Florian Fainelli
2025-10-14 1:11 ` 回复: " Changhuang Liang
2025-10-14 8:52 ` Stanimir Varbanov
2025-10-14 9:04 ` Johan Hovold
2025-10-16 9:51 ` [tip: irq/drivers] " tip-bot2 for Johan Hovold
2025-10-16 15:46 ` tip-bot2 for Johan Hovold
2025-10-16 15:56 ` Johan Hovold
2025-10-16 16:19 ` Thomas Gleixner
2025-10-16 19:01 ` tip-bot2 for Johan Hovold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=176060830043.709179.6763794597200836690.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=florian.fainelli@broadcom.com \
--cc=johan@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®