irqchip/mst: Make mst_intc_of_init static
authorMarc Zyngier <maz@kernel.org>
Thu, 15 Oct 2020 21:26:26 +0000 (22:26 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 15 Oct 2020 21:32:31 +0000 (22:32 +0100)
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>
drivers/irqchip/irq-mst-intc.c

index 4be0775..143657b 100644 (file)
@@ -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;