diff options
author | Carlo Caione <carlo@endlessm.com> | 2015-12-01 11:24:17 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2015-12-09 10:08:36 -0500 |
commit | 4c3141e09cfa6460bfcd5e90f73e498db654c917 (patch) | |
tree | 7f281e91cb91e310c781aedbac320dfe59db185f /drivers/of | |
parent | f8062386671a596ca7022c61727a14a25679a0a1 (diff) |
of/irq: Export of_irq_find_parent again
of_irq_find_parent was made static since it had no users outside of
of_irq.c. Export it again since we are going to use it again.
Signed-off-by: Carlo Caione <carlo@endlessm.com>
[robh: move of_irq_find_parent to correct ifdef section]
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/irq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 902b89be7217..4fa916dffc91 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c | |||
@@ -53,7 +53,7 @@ EXPORT_SYMBOL_GPL(irq_of_parse_and_map); | |||
53 | * Returns a pointer to the interrupt parent node, or NULL if the interrupt | 53 | * Returns a pointer to the interrupt parent node, or NULL if the interrupt |
54 | * parent could not be determined. | 54 | * parent could not be determined. |
55 | */ | 55 | */ |
56 | static struct device_node *of_irq_find_parent(struct device_node *child) | 56 | struct device_node *of_irq_find_parent(struct device_node *child) |
57 | { | 57 | { |
58 | struct device_node *p; | 58 | struct device_node *p; |
59 | const __be32 *parp; | 59 | const __be32 *parp; |
@@ -77,6 +77,7 @@ static struct device_node *of_irq_find_parent(struct device_node *child) | |||
77 | 77 | ||
78 | return p; | 78 | return p; |
79 | } | 79 | } |
80 | EXPORT_SYMBOL_GPL(of_irq_find_parent); | ||
80 | 81 | ||
81 | /** | 82 | /** |
82 | * of_irq_parse_raw - Low level interrupt tree parsing | 83 | * of_irq_parse_raw - Low level interrupt tree parsing |