diff options
author | Grant Likely <grant.likely@linaro.org> | 2013-06-09 20:09:33 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2013-06-24 09:02:41 -0400 |
commit | 56a3d5ac774d054ece9373277a861338a468a294 (patch) | |
tree | 269620fa3978de3c42eaf6c408ea4c9ce36b8086 /kernel/irq | |
parent | ddaf144c61da45ae5c49ae38556c3ac4524f9318 (diff) |
irqdomain: remove irq_domain_generate_simple()
Nobody calls it; remove the function
Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'kernel/irq')
-rw-r--r-- | kernel/irq/irqdomain.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index 80e92492c77b..e47b35671384 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqdomain.c | |||
@@ -741,18 +741,3 @@ const struct irq_domain_ops irq_domain_simple_ops = { | |||
741 | .xlate = irq_domain_xlate_onetwocell, | 741 | .xlate = irq_domain_xlate_onetwocell, |
742 | }; | 742 | }; |
743 | EXPORT_SYMBOL_GPL(irq_domain_simple_ops); | 743 | EXPORT_SYMBOL_GPL(irq_domain_simple_ops); |
744 | |||
745 | #ifdef CONFIG_OF_IRQ | ||
746 | void irq_domain_generate_simple(const struct of_device_id *match, | ||
747 | u64 phys_base, unsigned int irq_start) | ||
748 | { | ||
749 | struct device_node *node; | ||
750 | pr_debug("looking for phys_base=%llx, irq_start=%i\n", | ||
751 | (unsigned long long) phys_base, (int) irq_start); | ||
752 | node = of_find_matching_node_by_address(NULL, match, phys_base); | ||
753 | if (node) | ||
754 | irq_domain_add_legacy(node, 32, irq_start, 0, | ||
755 | &irq_domain_simple_ops, NULL); | ||
756 | } | ||
757 | EXPORT_SYMBOL_GPL(irq_domain_generate_simple); | ||
758 | #endif | ||