summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip
diff options
context:
space:
mode:
authorDonghyeok Kim <dthex5d@gmail.com>2021-12-05 01:42:28 +0900
committerMarc Zyngier <maz@kernel.org>2021-12-07 09:33:11 +0000
commit3d9e575f2acef57528ed6950b5f8ba99f5e52f3f (patch)
tree25d0bf7d57052391e232067bbb842fcfcf78e5b2 /drivers/irqchip
parentc5e0cbe2858d278a27d5b3fe31890aea5be064c4 (diff)
downloadlinux-3d9e575f2acef57528ed6950b5f8ba99f5e52f3f.tar.gz
linux-3d9e575f2acef57528ed6950b5f8ba99f5e52f3f.tar.bz2
linux-3d9e575f2acef57528ed6950b5f8ba99f5e52f3f.zip
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@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
Diffstat (limited to 'drivers/irqchip')
-rw-r--r--drivers/irqchip/irq-apple-aic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-apple-aic.c b/drivers/irqchip/irq-apple-aic.c
index 3759dc36cc8f..2543ef65825b 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;