Skip to content

Commit 893a7cf

Browse files
author
Marc Zyngier
committed
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>
1 parent 61b0648 commit 893a7cf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/irqchip/irq-mst-intc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ static const struct irq_domain_ops mst_intc_domain_ops = {
154154
.free = irq_domain_free_irqs_common,
155155
};
156156

157-
int __init
158-
mst_intc_of_init(struct device_node *dn, struct device_node *parent)
157+
static int __init mst_intc_of_init(struct device_node *dn,
158+
struct device_node *parent)
159159
{
160160
struct irq_domain *domain, *domain_parent;
161161
struct mst_intc_chip_data *cd;

0 commit comments

Comments
 (0)