diff options
author | Dmitry Torokhov <[email protected]> | 2015-08-25 17:04:02 -0700 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2015-08-26 18:47:57 +0200 |
commit | 6602c452caf532893c1bde50aacda0bd17f958aa (patch) | |
tree | 377d163cf228840438476661bbc4855bba19f99b | |
parent | a4a9a8cb3248b3b48a6049acaeaf23d4ad3712b9 (diff) |
of/irq: export of_get_irq_byname()
Similarly to of_get_irq(), let's export of_irq_get_byname(), so if a bus core
can be compiled as a module (such as I2C) it can have access to the symbol.
Reported-by: Stephen Rothwell <[email protected]>
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
-rw-r--r-- | drivers/of/irq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 3cf7a01f557f..e9eaed1dc996 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -431,6 +431,7 @@ int of_irq_get_byname(struct device_node *dev, const char *name) return of_irq_get(dev, index); } +EXPORT_SYMBOL_GPL(of_irq_get_byname); /** * of_irq_count - Count the number of IRQs a node uses |