Skip to contentSkip to conversation

irq: Staticise irq_domain_simple_dt_translate()

PATCH New Mark Brown 1 participant 1 message Nov 23, 2011

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 irq: Staticise irq_domain_simple_dt_translate()

irq_domain_simple_dt_translate() is only ever accessed indirectly through irq_domain_simple_ops and should therefore be static.

---
 kernel/irq/irqdomain.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/irq/irqdomain.c +1 -1
index b22a641..4dc9826 100644
@@ -126,7 +126,7 @@ void irq_dispose_mapping(unsigned int irq)
 }
 EXPORT_SYMBOL_GPL(irq_dispose_mapping);
 
-int irq_domain_simple_dt_translate(struct irq_domain *d,
+static int irq_domain_simple_dt_translate(struct irq_domain *d,
 			    struct device_node *controller,
 			    const u32 *intspec, unsigned int intsize,
 			    unsigned long *out_hwirq, unsigned int *out_type)
Signature · 1 line
1.7.7.3