diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-05-19 15:11:43 +0900 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-05-19 12:35:33 -0600 |
commit | 5c5806e50b9fd4ca435acdf0eceddda64da9be5b (patch) | |
tree | 09e831a978fb1d09cdcec36e705d04923ac36a25 /kernel/irq | |
parent | ecd84eb20a08841197d6bbda5961dcf5f4e424fc (diff) |
irqdomain: Make irq_domain_simple_map() static.
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>
Diffstat (limited to 'kernel/irq')
-rw-r--r-- | kernel/irq/irqdomain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index 01d4a0de061..92e06442d74 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqdomain.c @@ -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; } |