From: Marc Zyngier Date: Sun, 25 Oct 2020 11:10:29 +0000 (+0000) Subject: irqchip/bcm2836: Fix missing __init annotation X-Git-Tag: v5.10.7~1076^2^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57733e009f0c7e0526e10a18be12f56996c5460e;p=platform%2Fkernel%2Flinux-rpi.git irqchip/bcm2836: Fix missing __init annotation 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 Signed-off-by: Marc Zyngier --- diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c index 97838eb..cbc7c74 100644 --- a/drivers/irqchip/irq-bcm2836.c +++ b/drivers/irqchip/irq-bcm2836.c @@ -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,