diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2011-04-14 18:31:57 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-04-20 03:01:19 -0400 |
commit | 0b2e9a8e10ad2d191e5c37e77f1ce23e148e7a0b (patch) | |
tree | 6ce26dc1e399e09a3b8052b491c700f6cce02699 /drivers | |
parent | 931e1241a266e701157d3478d0d44fc58d6e84b4 (diff) |
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 'drivers')
-rw-r--r-- | drivers/of/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 75b0d3cb7676..9f689f1da0fc 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c | |||
@@ -56,7 +56,7 @@ EXPORT_SYMBOL_GPL(irq_of_parse_and_map); | |||
56 | * Returns a pointer to the interrupt parent node, or NULL if the interrupt | 56 | * Returns a pointer to the interrupt parent node, or NULL if the interrupt |
57 | * parent could not be determined. | 57 | * parent could not be determined. |
58 | */ | 58 | */ |
59 | static struct device_node *of_irq_find_parent(struct device_node *child) | 59 | struct device_node *of_irq_find_parent(struct device_node *child) |
60 | { | 60 | { |
61 | struct device_node *p; | 61 | struct device_node *p; |
62 | const __be32 *parp; | 62 | const __be32 *parp; |