Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c5806e5 authored by Paul Mundt's avatar Paul Mundt Committed by Grant Likely
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent ecd84eb2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -758,7 +758,7 @@ 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,
static int irq_domain_simple_map(struct irq_domain *d, unsigned int irq,
				 irq_hw_number_t hwirq)
{
	return 0;