Skip to content

Commit 3d9e575

Browse files
dthex5dMarc Zyngier
authored andcommitted
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
1 parent c5e0cbe commit 3d9e575

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/irqchip/irq-apple-aic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ static const struct irq_domain_ops aic_ipi_domain_ops = {
707707
.free = aic_ipi_free,
708708
};
709709

710-
static int aic_init_smp(struct aic_irq_chip *irqc, struct device_node *node)
710+
static int __init aic_init_smp(struct aic_irq_chip *irqc, struct device_node *node)
711711
{
712712
struct irq_domain *ipi_domain;
713713
int base_ipi;

0 commit comments

Comments
 (0)