diff options
author | 2011-04-14 22:31:57 +0000 | |
---|---|---|
committer | 2011-04-20 17:01:19 +1000 | |
commit | 0b2e9a8e10ad2d191e5c37e77f1ce23e148e7a0b (patch) | |
tree | 6ce26dc1e399e09a3b8052b491c700f6cce02699 /include/linux/of_irq.h | |
parent | powerpc/a2: Add some #defines for A2 specific instructions (diff) | |
download | linux-0b2e9a8e10ad2d191e5c37e77f1ce23e148e7a0b.tar.gz linux-0b2e9a8e10ad2d191e5c37e77f1ce23e148e7a0b.tar.bz2 linux-0b2e9a8e10ad2d191e5c37e77f1ce23e148e7a0b.zip |
of: Export of_irq_find_parent()
We have platform code that needs to find a node's interrupt parent, so
export of_irq_find_parent() so we can use it.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/linux/of_irq.h')
-rw-r--r-- | include/linux/of_irq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/of_irq.h b/include/linux/of_irq.h index 109e013b1772..e6955f5d1f08 100644 --- a/include/linux/of_irq.h +++ b/include/linux/of_irq.h @@ -68,6 +68,7 @@ extern int of_irq_to_resource(struct device_node *dev, int index, extern int of_irq_count(struct device_node *dev); extern int of_irq_to_resource_table(struct device_node *dev, struct resource *res, int nr_irqs); +extern struct device_node *of_irq_find_parent(struct device_node *child); #endif /* CONFIG_OF_IRQ */ #endif /* CONFIG_OF */ |