[tip: irq/urgent] irqchip/bcm2836: Fix missing __init annotation

From: tip-bot2 for Marc Zyngier
Date: Sun Nov 01 2020 - 12:00:50 EST


The following commit has been merged into the irq/urgent branch of tip:

Commit-ID: 57733e009f0c7e0526e10a18be12f56996c5460e
Gitweb: https://git.kernel.org/tip/57733e009f0c7e0526e10a18be12f56996c5460e
Author: Marc Zyngier <maz@xxxxxxxxxx>
AuthorDate: Sun, 25 Oct 2020 11:10:29
Committer: Marc Zyngier <maz@xxxxxxxxxx>
CommitterDate: Sun, 25 Oct 2020 11:10:29

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 <lkp@xxxxxxxxx>
Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
---
drivers/irqchip/irq-bcm2836.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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,