[irqchip: irq/irqchip-fixes] irqchip/apple-aic: Mark aic_init_smp() as __init
From: irqchip-bot for Donghyeok Kim
Date: Tue Dec 07 2021 - 04:45:31 EST
The following commit has been merged into the irq/irqchip-fixes branch of irqchip:
Commit-ID: 3d9e575f2acef57528ed6950b5f8ba99f5e52f3f
Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/3d9e575f2acef57528ed6950b5f8ba99f5e52f3f
Author: Donghyeok Kim <dthex5d@xxxxxxxxx>
AuthorDate: Sun, 05 Dec 2021 01:42:28 +09:00
Committer: Marc Zyngier <maz@xxxxxxxxxx>
CommitterDate: Tue, 07 Dec 2021 09:33:11
irqchip/apple-aic: Mark aic_init_smp() as __init
This function is only called from the driver init code.
Signed-off-by: Donghyeok Kim <dthex5d@xxxxxxxxx>
Acked-by: Hector Martin <marcan@xxxxxxxxx>
Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20211204164228.5920-1-dthex5d@xxxxxxxxx
---
drivers/irqchip/irq-apple-aic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-apple-aic.c b/drivers/irqchip/irq-apple-aic.c
index 3759dc3..2543ef6 100644
--- a/drivers/irqchip/irq-apple-aic.c
+++ b/drivers/irqchip/irq-apple-aic.c
@@ -707,7 +707,7 @@ static const struct irq_domain_ops aic_ipi_domain_ops = {
.free = aic_ipi_free,
};
-static int aic_init_smp(struct aic_irq_chip *irqc, struct device_node *node)
+static int __init aic_init_smp(struct aic_irq_chip *irqc, struct device_node *node)
{
struct irq_domain *ipi_domain;
int base_ipi;