diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-08-26 03:04:02 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-08-26 19:47:57 +0300 |
commit | 6602c452caf532893c1bde50aacda0bd17f958aa (patch) | |
tree | 377d163cf228840438476661bbc4855bba19f99b /drivers | |
parent | a4a9a8cb3248b3b48a6049acaeaf23d4ad3712b9 (diff) | |
download | linux-6602c452caf532893c1bde50aacda0bd17f958aa.tar.xz |
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 <sfr@canb.auug.org.au>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers')
-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 |