]> git.baikalelectronics.ru Git - kernel.git/commitdiff
irqchip/apple-aic: Mark aic_init_smp() as __init
authorDonghyeok Kim <dthex5d@gmail.com>
Sat, 4 Dec 2021 16:42:28 +0000 (01:42 +0900)
committerMarc Zyngier <maz@kernel.org>
Tue, 7 Dec 2021 09:33:11 +0000 (09:33 +0000)
This function is only called from the driver init code.

Signed-off-by: Donghyeok Kim <dthex5d@gmail.com>
Acked-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211204164228.5920-1-dthex5d@gmail.com
drivers/irqchip/irq-apple-aic.c

index 3759dc36cc8f73f664e10e8ed6c8fd2ceca1754f..2543ef65825b903438f16331de4c92f864fe125e 100644 (file)
@@ -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;