irqdomain: Make irq_domain_simple_map() static.
authorPaul Mundt <lethal@linux-sh.org>
Sat, 19 May 2012 06:11:43 +0000 (15:11 +0900)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 19 May 2012 18:35:33 +0000 (12:35 -0600)
Presently irq_domain_simple_map() isn't labelled as static, but there's
no definition for it in the public irqdomain header either. At present
all in-tree ->map users have meaningful work to do, and all others are
using irq_domain_simple_ops directly. Make it static for now, as it can
always be exported and added to the public API later.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
kernel/irq/irqdomain.c

index 01d4a0de061f5a5c1b1aaf7c3ce3e8274ba5a24c..92e06442d74c00247927952c1fe6e8423bf7369b 100644 (file)
@@ -758,8 +758,8 @@ static int __init irq_debugfs_init(void)
 __initcall(irq_debugfs_init);
 #endif /* CONFIG_IRQ_DOMAIN_DEBUG */
 
-int irq_domain_simple_map(struct irq_domain *d, unsigned int irq,
-                         irq_hw_number_t hwirq)
+static int irq_domain_simple_map(struct irq_domain *d, unsigned int irq,
+                                irq_hw_number_t hwirq)
 {
        return 0;
 }