diff options
author | Marc Zyngier <maz@kernel.org> | 2020-10-15 23:26:26 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-10-15 23:32:31 +0200 |
commit | 893a7cfb6b0bea650fafa43838d7f7f8f0f076bc (patch) | |
tree | 1e526955b27d2eb8a4d65be6f84d07ccc10875bc /drivers/irqchip | |
parent | irqchip/mst: MST_IRQ should depend on ARCH_MEDIATEK or ARCH_MSTARV7 (diff) | |
download | linux-893a7cfb6b0bea650fafa43838d7f7f8f0f076bc.tar.xz linux-893a7cfb6b0bea650fafa43838d7f7f8f0f076bc.zip |
irqchip/mst: Make mst_intc_of_init static
mst_intc_of_init has no external caller, so let's make it static.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'drivers/irqchip')
-rw-r--r-- | drivers/irqchip/irq-mst-intc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/irqchip/irq-mst-intc.c b/drivers/irqchip/irq-mst-intc.c index 4be077591898..143657b0cf28 100644 --- a/drivers/irqchip/irq-mst-intc.c +++ b/drivers/irqchip/irq-mst-intc.c @@ -154,8 +154,8 @@ static const struct irq_domain_ops mst_intc_domain_ops = { .free = irq_domain_free_irqs_common, }; -int __init -mst_intc_of_init(struct device_node *dn, struct device_node *parent) +static int __init mst_intc_of_init(struct device_node *dn, + struct device_node *parent) { struct irq_domain *domain, *domain_parent; struct mst_intc_chip_data *cd; |