irqchip/bcm2836: Fix missing __init annotation
authorMarc Zyngier <maz@kernel.org>
Sun, 25 Oct 2020 11:10:29 +0000 (11:10 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 25 Oct 2020 11:10:29 +0000 (11:10 +0000)
bcm2836_arm_irqchip_smp_init() calls set_smp_ipi_range(), which has
an __init annotation. Make sure the caller has the same annotation.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
drivers/irqchip/irq-bcm2836.c

index 97838eb..cbc7c74 100644 (file)
@@ -244,7 +244,7 @@ static int bcm2836_cpu_dying(unsigned int cpu)
 
 #define BITS_PER_MBOX  32
 
-static void bcm2836_arm_irqchip_smp_init(void)
+static void __init bcm2836_arm_irqchip_smp_init(void)
 {
        struct irq_fwspec ipi_fwspec = {
                .fwnode         = intc.domain->fwnode,