diff mbox series

[v4,1/4] irqdomain: Export irq_domain_free_irqs

Message ID 20250505-pci-tegra-module-v4-1-088b552c4b1a@gmail.com
State New
Headers show
Series PCI: tegra: Allow building as a module | expand

Commit Message

Aaron Kling via B4 Relay May 5, 2025, 2:58 p.m. UTC
From: Aaron Kling <webgeek1234@gmail.com>

Add export for irq_domain_free_irqs() so that drivers like pci-tegra can
be loaded as a module.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
---
 kernel/irq/irqdomain.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Thomas Gleixner May 5, 2025, 10:33 p.m. UTC | #1
On Mon, May 05 2025 at 09:58, Aaron Kling via wrote:
> From: Aaron Kling <webgeek1234@gmail.com>
>
> Add export for irq_domain_free_irqs() so that drivers like pci-tegra can
> be loaded as a module.
>
> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>

Seriously?

Did you actually sit down for a couple of seconds to read and understand what I
asked you to do in that initial review and then again:

    https://lore.kernel.org/all/877c33qxss.ffs@tglx

I appreciate your dedication to get this sorted, but please take your
time to read more than just the _two_ lines which you think to be
relevant.

Please don't come back and waste your breath on telling me you are so
sorry as last time:

    https://lore.kernel.org/all/CALHNRZ_ctL1fJGO5752B6XEEXHwRe-a-Ofv+_=qtdq1WWXLLjw@mail.gmail.com

Just get your act together and do it right.

Thanks,

        tglx
diff mbox series

Patch

diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
index ec6d8e72d980f604ded2bfa2143420e0e0095920..36cd79a8a2ce960b07b03c40067343ec8f632452 100644
--- a/kernel/irq/irqdomain.c
+++ b/kernel/irq/irqdomain.c
@@ -1890,6 +1890,7 @@  void irq_domain_free_irqs(unsigned int virq, unsigned int nr_irqs)
 	irq_domain_free_irq_data(virq, nr_irqs);
 	irq_free_descs(virq, nr_irqs);
 }
+EXPORT_SYMBOL_GPL(irq_domain_free_irqs);
 
 static void irq_domain_free_one_irq(struct irq_domain *domain, unsigned int virq)
 {